diff --git a/src/components/menus/ProfileMenu.vue b/src/components/menus/ProfileMenu.vue index 8da19ef..e7cf504 100644 --- a/src/components/menus/ProfileMenu.vue +++ b/src/components/menus/ProfileMenu.vue @@ -15,7 +15,6 @@ export default defineComponent({ name: 'ProfileMenu', computed: { getUserId(): number { - console.log(this.$store.state.user.userId) return this.$store.state.user.userId } } diff --git a/src/components/pos/CartTable.vue b/src/components/pos/CartTable.vue index f4de3d2..d7e8c3f 100644 --- a/src/components/pos/CartTable.vue +++ b/src/components/pos/CartTable.vue @@ -2,7 +2,7 @@
| Item | Unit | @@ -13,139 +13,117 @@|||||||
|---|---|---|---|---|---|---|---|---|
| {{ item.name }} | +||||||||
| {{ item.item_name }} | {{ item.unit }} | -{{ item.price }} | -+ | {{ item.unit_price }} | +- + {{ item.qty }} | -{{ item.price * item.quantity }} | +{{ item.unit_price * item.qty }} |
- |
| Subtotal | - | {{ getSubtotal }} {{ getCurrency }} | +{{ getCartSubtotal }} {{ $store.getters.cartCurrency(cart.payment_method) }} | |||||
| Discount | - | - {{ getDiscount }} {{ getCurrency }} | +{{ cart.discount }} {{ $store.getters.cartCurrency(cart.payment_method) }} | |||||
| Tax | - | {{ getTax }} {{ getCurrency }} | +{{ getCartTax }} {{ $store.getters.cartCurrency(cart.payment_method) }} | |||||
| Total | - | {{ getTotal }} {{ getCurrency }} | +{{ getCartTotal }} {{ $store.getters.cartCurrency(cart.payment_method) }} | |||||
Total Payment
-{{ getTotal }} {{ getCurrency }}
+{{ getCartTotal }} {{ $store.getters.cartCurrency('tnbc') }}
{{ item.name }}
- {{ $store.getters['settings/currency'] }} - {{ item.price }}
+ {{ getCurrency }} + {{ item.price }} +