Skip to content

Commit

Permalink
fix: remove free item when its associated item is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Feb 3, 2025
1 parent ee03ab2 commit a8ba2c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/POS/Modern/ModernPOSSelectedItemTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
:row="(row as SalesInvoiceItem)"
@selected-row="selectedItemRow"
@run-sinv-formulas="runSinvFormulas"
@apply-pricing-rule="$emit('applyPricingRule')"
@toggle-modal="$emit('toggleModal')"
/>
</Row>
Expand Down Expand Up @@ -141,9 +142,6 @@ export default defineComponent({
selectedItemRow(row: SalesInvoiceItem, field: string) {
this.$emit('selectedRow', row, field);
},
emitApplyPricingRule() {
this.$emit('applyPricingRule');
},
isNumeric,
},
});
Expand Down

0 comments on commit a8ba2c8

Please sign in to comment.