From 65a3b8263f7f9102e6b9e4d66381e6a9dac8aac3 Mon Sep 17 00:00:00 2001 From: Jepp9350 <2jepp9350@gmail.com> Date: Wed, 21 May 2025 10:16:59 +0200 Subject: [PATCH] Refactor and enhance order management UI and functionality Introduced new props, conditional components, and methods to improve flexibility and functionality across multiple Vue components, including dynamic payment status and tax calculations. Added print receipt capabilities and refined handling of order details, enhancing user experience. --- .../displays/buttons/ColorIndicator.vue | 3 + .../department/pos/order/orderItemsTable.vue | 75 +++++- src/components/session/token/SessionUser.vue | 2 +- .../modules/Pos/DepartmentPosOrder.vue | 243 +++++++++++++++++- .../userDashboard/orders/MyOrder.vue | 82 ++++-- 5 files changed, 372 insertions(+), 33 deletions(-) diff --git a/src/components/displays/buttons/ColorIndicator.vue b/src/components/displays/buttons/ColorIndicator.vue index 1c1bd92c..dc56876d 100644 --- a/src/components/displays/buttons/ColorIndicator.vue +++ b/src/components/displays/buttons/ColorIndicator.vue @@ -324,4 +324,7 @@ onMounted(() => { \ No newline at end of file diff --git a/src/components/displays/department/pos/order/orderItemsTable.vue b/src/components/displays/department/pos/order/orderItemsTable.vue index 7ec28ded..40a68eba 100644 --- a/src/components/displays/department/pos/order/orderItemsTable.vue +++ b/src/components/displays/department/pos/order/orderItemsTable.vue @@ -1,5 +1,41 @@