2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/models/baseModels/AccountingLedgerEntry/AccountingLedgerEntry.ts
18alantom 76bf6cfda5 incr: rem singleton from index.ts cause can't test
- update models to not use singleton export
2022-05-23 16:18:22 +05:30

11 lines
285 B
TypeScript

import Doc from 'frappe/model/doc';
import { ListViewSettings } from 'frappe/model/types';
export class AccountingLedgerEntry extends Doc {
static getListViewSettings(): ListViewSettings {
return {
columns: ['account', 'party', 'debit', 'credit', 'balance'],
};
}
}