mirror of
https://github.com/frappe/books.git
synced 2024-11-15 01:44:04 +00:00
12 lines
257 B
TypeScript
12 lines
257 B
TypeScript
import { Doc } from 'fyo/model/doc';
|
|
import { Money } from 'pesa';
|
|
|
|
export class OpeningAmounts extends Doc {
|
|
amount?: Money;
|
|
paymentMethod?: 'Cash' | 'Transfer';
|
|
|
|
get openingCashAmount() {
|
|
return this.parentdoc?.openingCashAmount as Money;
|
|
}
|
|
}
|