mirror of
https://github.com/frappe/books.git
synced 2025-02-10 16:08:35 +00:00
fix(ux): show enabled features
This commit is contained in:
parent
4aa92457c7
commit
f69723ca31
@ -28,16 +28,10 @@ export default defineComponent({
|
||||
'fiscalYearEnd',
|
||||
'writeOffAccount',
|
||||
'roundOffAccount',
|
||||
'enableDiscounting',
|
||||
'enableInventory',
|
||||
];
|
||||
|
||||
if (!this.doc?.enableDiscounting) {
|
||||
fields.push('enableDiscounting');
|
||||
}
|
||||
|
||||
if (!this.doc?.enableInventory) {
|
||||
fields.push('enableInventory');
|
||||
}
|
||||
|
||||
if (this.doc?.enableDiscounting) {
|
||||
fields.push('discountAccount');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user