2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00

feat: cash denomination models

This commit is contained in:
akshayitzme 2023-08-22 12:18:23 +05:30 committed by akshayitzme
parent a01dfedff1
commit b8518c6c7d
4 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import { Doc } from 'fyo/model/doc';
import { Money } from 'pesa';
export abstract class CashDenominations extends Doc {
denomination?: Money;
}

View File

@ -0,0 +1,3 @@
import { CashDenominations } from './CashDenominations';
export class ClosingCash extends CashDenominations {}

View File

@ -0,0 +1,3 @@
import { CashDenominations } from './CashDenominations';
export class DefaultCashDenominations extends CashDenominations {}

View File

@ -0,0 +1,5 @@
import { CashDenominations } from './CashDenominations';
export class OpeningCash extends CashDenominations {
count?: number;
}