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

21 lines
471 B
TypeScript
Raw Normal View History

2023-09-05 17:33:42 +05:30
import { Doc } from 'fyo/model/doc';
import { FiltersMap } from 'fyo/model/types';
import {
AccountRootTypeEnum,
AccountTypeEnum,
} from 'models/baseModels/Account/types';
export class POSSettings extends Doc {
inventory?: string;
cashAccount?: string;
writeOffAccount?: string;
static filters: FiltersMap = {
cashAccount: () => ({
rootType: AccountRootTypeEnum.Asset,
accountType: AccountTypeEnum.Cash,
isGroup: false,
2023-09-05 17:33:42 +05:30
}),
};
}