fix achieved items error
parent
6b722b1965
commit
556502b7a2
|
@ -116,11 +116,14 @@ public class DashboardService {
|
||||||
progress.put("Stitching", (float) approvedStitchingOfflineItems + qcReject);
|
progress.put("Stitching", (float) approvedStitchingOfflineItems + qcReject);
|
||||||
progress.put("totalWips", (float) stitchingItemIds.size() - qcReject);
|
progress.put("totalWips", (float) stitchingItemIds.size() - qcReject);
|
||||||
progress.put("Alteration", (float) qcReject);
|
progress.put("Alteration", (float) qcReject);
|
||||||
|
|
||||||
progress.put("finishing", (float) approved + operationNotPerformed);
|
progress.put("finishing", (float) approved + operationNotPerformed);
|
||||||
progress.put("ALTER", (float) alterationPieceFinish);
|
progress.put("ALTER", (float) alterationPieceFinish);
|
||||||
progress.put("Reject", (float) rejectFinishedItem);
|
progress.put("Reject", (float) rejectFinishedItem);
|
||||||
progress.put("wash", (float) washFinishedItem);
|
progress.put("wash", (float) washFinishedItem);
|
||||||
|
|
||||||
progress.put("packaging", (float) packagingItems);
|
progress.put("packaging", (float) packagingItems);
|
||||||
|
|
||||||
progress.put("Efficiency",efficiency);
|
progress.put("Efficiency",efficiency);
|
||||||
return progress;
|
return progress;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<div class="col-lg-6 border border-black-50 d-flex flex-column align-items-center justify-content-center text-center text-white rounded"
|
<div class="col-lg-6 border border-black-50 d-flex flex-column align-items-center justify-content-center text-center text-white rounded"
|
||||||
style="background-color: #72788a;">
|
style="background-color: #72788a;">
|
||||||
<h1 class="fw-bold pt-5 pb-2" style="font-size: 6rem;"
|
<h1 class="fw-bold pt-5 pb-2" style="font-size: 6rem;"
|
||||||
th:text="${(phases.get('Shift Achieved') != null ? phases.get('Shift Achieved').intValue() : 0) + ' Pcs'}"></h1>
|
th:text="${phases.get('packaging')?.intValue() ?: 0}"></h1>
|
||||||
<h1 class="fw-bold m-0 text-start pb-5 pt-2" style="font-size: 4rem;">Achieved</h1>
|
<h1 class="fw-bold m-0 text-start pb-5 pt-2" style="font-size: 4rem;">Achieved</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue