Skip to content

Commit

Permalink
chore: set additional discount field to readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayitzme committed Aug 30, 2023
1 parent 44a7b06 commit 766aebb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/pages/POS/POS.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
}"
size="large"
:value="additionalDiscounts"
:read-only="false"
:read-only="true"
:text-right="true"
@change="(amount:Money)=> additionalDiscounts= amount"
/>
Expand Down Expand Up @@ -342,11 +342,6 @@ export default defineComponent({
this.itemDiscounts = itemDiscounts;
},
setAdditionalDiscounts(amount: Money) {
if (amount.isZero()) {
return;
}
},
async setTotalTaxedAmount() {
if (!this.sinvDoc.items) {
return;
Expand Down

0 comments on commit 766aebb

Please sign in to comment.