mirror of
https://github.com/frappe/books.git
synced 2025-02-14 17:56:34 +00:00
fix: remove free item when its associated item is deleted
This commit is contained in:
parent
ee03ab2097
commit
a8ba2c8e83
@ -43,6 +43,7 @@
|
|||||||
:row="(row as SalesInvoiceItem)"
|
:row="(row as SalesInvoiceItem)"
|
||||||
@selected-row="selectedItemRow"
|
@selected-row="selectedItemRow"
|
||||||
@run-sinv-formulas="runSinvFormulas"
|
@run-sinv-formulas="runSinvFormulas"
|
||||||
|
@apply-pricing-rule="$emit('applyPricingRule')"
|
||||||
@toggle-modal="$emit('toggleModal')"
|
@toggle-modal="$emit('toggleModal')"
|
||||||
/>
|
/>
|
||||||
</Row>
|
</Row>
|
||||||
@ -141,9 +142,6 @@ export default defineComponent({
|
|||||||
selectedItemRow(row: SalesInvoiceItem, field: string) {
|
selectedItemRow(row: SalesInvoiceItem, field: string) {
|
||||||
this.$emit('selectedRow', row, field);
|
this.$emit('selectedRow', row, field);
|
||||||
},
|
},
|
||||||
emitApplyPricingRule() {
|
|
||||||
this.$emit('applyPricingRule');
|
|
||||||
},
|
|
||||||
isNumeric,
|
isNumeric,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user