|
|
@@ -82,7 +82,9 @@ $isUserCurrentGrantedAsProducer = $userModule->getAuthorizationChecker()->isGran |
|
|
|
$countTicketsLabel = '<span class="pull-right-container"><small class="label pull-right bg-green">' . $countTicketsAdminUnread . '</small></span>'; |
|
|
|
} else { |
|
|
|
$countTicketsAdminOpen = $ticketModule->getRepository()->countTicketsAdminStatusOpen(); |
|
|
|
$countTicketsLabel = '<span class="pull-right-container"><small class="label pull-right bg-blue">' . $countTicketsAdminOpen . '</small></span>'; |
|
|
|
if($countTicketsAdminOpen) { |
|
|
|
$countTicketsLabel = '<span class="pull-right-container"><small class="label pull-right bg-blue">' . $countTicketsAdminOpen . '</small></span>'; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$sumUserProducerCredits = $userProducerModule->sumUserProducerCredits(); |