2
0
mirror of https://github.com/frappe/books.git synced 2025-01-22 22:58:28 +00:00

chore: set additional discount field to readonly

This commit is contained in:
akshayitzme 2023-08-30 18:10:32 +05:30 committed by akshayitzme
parent ebaf110ff2
commit f50932c6a3

View File

@ -103,7 +103,7 @@
}"
size="large"
:value="additionalDiscounts"
:read-only="false"
:read-only="true"
:text-right="true"
@change="(amount:Money)=> additionalDiscounts= amount"
/>
@ -342,11 +342,6 @@ export default defineComponent({
this.itemDiscounts = itemDiscounts;
},
setAdditionalDiscounts(amount: Money) {
if (amount.isZero()) {
return;
}
},
async setTotalTaxedAmount() {
if (!this.sinvDoc.items) {
return;