瀏覽代碼

[Administration] Support admin : correctif affichage nombre tickets ouverts

feature/souke
Guillaume Bourgeois 9 月之前
父節點
當前提交
2d185a2930
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      backend/views/layouts/left.php

+ 3
- 1
backend/views/layouts/left.php 查看文件

@@ -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…
取消
儲存