finish value set in dashboard screen one
parent
d6a9c6a87c
commit
b255071c2e
|
@ -131,6 +131,7 @@ public class DashboardService {
|
||||||
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("finishingValueForBarChart", (float) approved + alterationPieceFinish + rejectFinishedItem + washFinishedItem + packagingItems);
|
||||||
|
|
||||||
progress.put("packaging", (float) packagingItems);
|
progress.put("packaging", (float) packagingItems);
|
||||||
progress.put("totalPackaging", (float) packagingItemIDs.size());
|
progress.put("totalPackaging", (float) packagingItemIDs.size());
|
||||||
|
|
|
@ -157,7 +157,7 @@
|
||||||
th:data-title="${detail.get('articleName')} + ' (' + ${date} + ')'"
|
th:data-title="${detail.get('articleName')} + ' (' + ${date} + ')'"
|
||||||
th:data-dates="${date}"
|
th:data-dates="${date}"
|
||||||
th:data-stitching="${phases.get('Stitching')?.intValue() ?: 0}"
|
th:data-stitching="${phases.get('Stitching')?.intValue() ?: 0}"
|
||||||
th:data-finishing="${phases.get('finishing')?.intValue() ?: 0}"
|
th:data-finishing="${phases.get('finishingValueForBarChart')?.intValue() ?: 0}"
|
||||||
th:data-packaging="${phases.get('packaging')?.intValue() ?: 0}"
|
th:data-packaging="${phases.get('packaging')?.intValue() ?: 0}"
|
||||||
th:data-totalProduction="${detail.get('Shift Target')}"
|
th:data-totalProduction="${detail.get('Shift Target')}"
|
||||||
th:data-fontSize="35">
|
th:data-fontSize="35">
|
||||||
|
|
Loading…
Reference in New Issue