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
2024-12-27 16:31:23 +05:30

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'],
};
}
}