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

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

Loading…
Cancel
Save