finish value set in dashboard screen one

po-online-status
usama.jameel 2025-06-10 11:11:00 +05:00
parent d6a9c6a87c
commit b255071c2e
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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">