2
0
mirror of https://github.com/frappe/books.git synced 2025-01-23 07:08:36 +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 12:18:51 +05:30
import { Doc } from 'fyo/model/doc';
import { Money } from 'pesa';
export class OpeningAmounts extends Doc {
amount?: Money;
paymentMethod?: 'Cash' | 'Transfer';
2023-08-22 18:30:24 +05:30
get openingCashAmount() {
return this.parentdoc?.openingCashAmount as Money;
}
2023-08-22 12:18:51 +05:30
}