diff --git a/src/components/POS/Modern/ModernPOSSelectedItemTable.vue b/src/components/POS/Modern/ModernPOSSelectedItemTable.vue index 1de6fd18..1e1966fb 100644 --- a/src/components/POS/Modern/ModernPOSSelectedItemTable.vue +++ b/src/components/POS/Modern/ModernPOSSelectedItemTable.vue @@ -85,6 +85,7 @@ export default defineComponent({ isExapanded: false, }; }, + emits: ['toggleModal'], computed: { ratio() { return [0.1, 0.8, 0.4, 0.8, 0.8, 0.3]; @@ -138,7 +139,7 @@ export default defineComponent({ }, methods: { handleToggleModal(modal: string) { - this.$emit('toggle-modal', modal); + this.$emit('toggleModal', modal); }, async runSinvFormulas() { await this.sinvDoc.runFormulas(); diff --git a/src/pages/POS/ClassicPOS.vue b/src/pages/POS/ClassicPOS.vue index d36d2e07..4449e3e3 100644 --- a/src/pages/POS/ClassicPOS.vue +++ b/src/pages/POS/ClassicPOS.vue @@ -107,7 +107,15 @@ />