2
0
mirror of https://github.com/frappe/books.git synced 2025-01-10 10:16:22 +00:00
books/models/baseModels/PaymentMethod/PaymentMethod.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
404 B
TypeScript
Raw Normal View History

2024-12-26 09:50:01 +00:00
import { Doc } from 'fyo/model/doc';
import { Account } from '../Account/Account';
2024-12-27 11:01:23 +00:00
import { ListViewSettings } from 'fyo/model/types';
import { PaymentMethodType } from 'models/types';
2024-12-26 09:50:01 +00:00
export class PaymentMethod extends Doc {
name?: string;
account?: Account;
2024-12-27 11:01:23 +00:00
type?: PaymentMethodType;
static getListViewSettings(): ListViewSettings {
return {
columns: ['name', 'type'],
};
}
2024-12-26 09:50:01 +00:00
}