2
0
mirror of https://github.com/frappe/books.git synced 2025-02-14 01:40:26 +00:00

fix: remove free item when its associated item is deleted

This commit is contained in:
AbleKSaju 2025-02-03 16:18:14 +05:30
parent ee03ab2097
commit a8ba2c8e83

View File

@ -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>
@ -141,9 +142,6 @@ export default defineComponent({
selectedItemRow(row: SalesInvoiceItem, field: string) {
this.$emit('selectedRow', row, field);
},
emitApplyPricingRule() {
this.$emit('applyPricingRule');
},
isNumeric,
},
});