2
0
mirror of https://github.com/frappe/books.git synced 2024-12-24 11:55:46 +00:00
books/models/inventory/Point of Sale/OpeningAmounts.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
257 B
TypeScript
Raw Normal View History

2023-08-22 06:48:51 +00:00
import { Doc } from 'fyo/model/doc';
import { Money } from 'pesa';
export class OpeningAmounts extends Doc {
amount?: Money;
paymentMethod?: 'Cash' | 'Transfer';
2023-08-22 13:00:24 +00:00
get openingCashAmount() {
return this.parentdoc?.openingCashAmount as Money;
}
2023-08-22 06:48:51 +00:00
}