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

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 15:20:01 +05:30
import { Doc } from 'fyo/model/doc';
import { Account } from '../Account/Account';
2024-12-27 16:31:23 +05:30
import { ListViewSettings } from 'fyo/model/types';
import { PaymentMethodType } from 'models/types';
2024-12-26 15:20:01 +05:30
export class PaymentMethod extends Doc {
name?: string;
account?: Account;
2024-12-27 16:31:23 +05:30
type?: PaymentMethodType;
static getListViewSettings(): ListViewSettings {
return {
columns: ['name', 'type'],
};
}
2024-12-26 15:20:01 +05:30
}