Commit 896f2f94 by NGO THI HONG

#19123 update count pickup in dashboard

parent 74429e23
......@@ -591,7 +591,7 @@ CHK.loadDashboardBatch = function(operationList) {
CHK.dashboardBatch.reportWarning = 0;
for (var i = 0; i < operationList.length; i++) {
let operation = operationList[i];
if (operation.enableAddReport == 1) {
if(!( operationList[i].enableAddReport != 1 || (operationList[i].newReportFlg != 1 && operationList[i].reportType == 3) || (operationList[i].enableReportEdit != 1 && operationList[i].reportType == 2)) ){
CHK.dashboardBatch.newReport += 1;
}
if (operation.reportType == 3) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment