From 02fb2045d2329b300f1c4cbbaddfafc45f89ff34 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Sun, 5 Jul 2026 02:09:17 +0700 Subject: [PATCH] refactor: restructure results section in Share.vue for improved clarity; enhance display of cutting results with a new table format and computed logic for grouped results --- .../js/pages/admin/manage/cuttings/Share.vue | 196 +++++++++--------- 1 file changed, 98 insertions(+), 98 deletions(-) diff --git a/resources/js/pages/admin/manage/cuttings/Share.vue b/resources/js/pages/admin/manage/cuttings/Share.vue index fc51612..8f09caf 100644 --- a/resources/js/pages/admin/manage/cuttings/Share.vue +++ b/resources/js/pages/admin/manage/cuttings/Share.vue @@ -154,33 +154,77 @@ const groupedResults = computed(() => { - -
-

Ringkasan

-
-
-

- Total Hasil Cutting -

-

- {{ cutting.total_result_pieces ?? 0 }} pcs -

-
-
-

- Total Pemakaian Bahan -

-

- {{ - cutting.total_material_usage_summary_formatted - }} -

-
+ +
+

Hasil Produk

+
+ + + + Varian + Foto + Hasil + Sample + Diluar Sample + + + + + +
@@ -281,77 +325,33 @@ const groupedResults = computed(() => {
- -
-

Hasil Produk

-
- - - - Varian - Foto - Hasil - Sample - Diluar Sample - - - - - -
+ +
+

Ringkasan

+
+
+

+ Total Hasil Cutting +

+

+ {{ cutting.total_result_pieces ?? 0 }} pcs +

+
+
+

+ Total Pemakaian Bahan +

+

+ {{ + cutting.total_material_usage_summary_formatted + }} +

+