mirror of
https://github.com/frappe/books.git
synced 2024-12-23 03:19:01 +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;
|
|
}
|
|
}
|