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:
parent
ebaf110ff2
commit
f50932c6a3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user