|
|
|
|
|
|
|
|
$countTicketsLabel = '<span class="pull-right-container"><small class="label pull-right bg-green">' . $countTicketsAdminUnread . '</small></span>'; |
|
|
$countTicketsLabel = '<span class="pull-right-container"><small class="label pull-right bg-green">' . $countTicketsAdminUnread . '</small></span>'; |
|
|
} else { |
|
|
} else { |
|
|
$countTicketsAdminOpen = $ticketModule->getRepository()->countTicketsAdminStatusOpen(); |
|
|
$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(); |
|
|
$sumUserProducerCredits = $userProducerModule->sumUserProducerCredits(); |