2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/models/baseModels/PrintSettings/PrintSettings.ts
18alantom e1920bd55e incr: update dynamic hidden
- delete unused settings tab files
2023-03-01 13:43:04 +05:30

9 lines
240 B
TypeScript

import { Doc } from 'fyo/model/doc';
import { HiddenMap } from 'fyo/model/types';
export class PrintSettings extends Doc {
override hidden: HiddenMap = {
displayBatch: () => !this.fyo.singles.InventorySettings?.enableBatches,
};
}