mirror of
https://github.com/frappe/books.git
synced 2025-01-10 10:16:22 +00:00
17 lines
404 B
TypeScript
17 lines
404 B
TypeScript
import { Doc } from 'fyo/model/doc';
|
|
import { Account } from '../Account/Account';
|
|
import { ListViewSettings } from 'fyo/model/types';
|
|
import { PaymentMethodType } from 'models/types';
|
|
|
|
export class PaymentMethod extends Doc {
|
|
name?: string;
|
|
account?: Account;
|
|
type?: PaymentMethodType;
|
|
|
|
static getListViewSettings(): ListViewSettings {
|
|
return {
|
|
columns: ['name', 'type'],
|
|
};
|
|
}
|
|
}
|