From f82b56d540b534f35234cb74eac68dc2b4d318b2 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Sun, 19 Jul 2026 20:20:55 +0700 Subject: [PATCH] fix: update product name reference in RowShareAction component and clean up imports --- app/Services/Manage/CuttingService.php | 1 + resources/js/components/button/RowShareAction.vue | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Services/Manage/CuttingService.php b/app/Services/Manage/CuttingService.php index d8522d5..7269405 100644 --- a/app/Services/Manage/CuttingService.php +++ b/app/Services/Manage/CuttingService.php @@ -173,6 +173,7 @@ public function findForShare(Cutting $cutting): Cutting $cutting->load([ 'media', 'createdBy.profile', + 'results', 'materials.rawMaterialPrice.rawMaterial:id,name,unit', 'materials.rawMaterialPrice.media', 'materials.combination', diff --git a/resources/js/components/button/RowShareAction.vue b/resources/js/components/button/RowShareAction.vue index cec6f1e..2cedfa3 100644 --- a/resources/js/components/button/RowShareAction.vue +++ b/resources/js/components/button/RowShareAction.vue @@ -1,7 +1,4 @@