Browse Source

[Administration] Support admin : correctif affichage nombre tickets ouverts

feature/souke
Guillaume Bourgeois 9 months ago
parent
commit
2d185a2930
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      backend/views/layouts/left.php

+ 3
- 1
backend/views/layouts/left.php View File

@@ -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();

Loading…
Cancel
Save