mirror of
https://github.com/frappe/books.git
synced 2024-11-08 14:50:56 +00:00
feat: cash denomination models
This commit is contained in:
parent
a01dfedff1
commit
b8518c6c7d
6
models/inventory/Point of Sale/CashDenominations.ts
Normal file
6
models/inventory/Point of Sale/CashDenominations.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { Doc } from 'fyo/model/doc';
|
||||
import { Money } from 'pesa';
|
||||
|
||||
export abstract class CashDenominations extends Doc {
|
||||
denomination?: Money;
|
||||
}
|
3
models/inventory/Point of Sale/ClosingCash.ts
Normal file
3
models/inventory/Point of Sale/ClosingCash.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { CashDenominations } from './CashDenominations';
|
||||
|
||||
export class ClosingCash extends CashDenominations {}
|
@ -0,0 +1,3 @@
|
||||
import { CashDenominations } from './CashDenominations';
|
||||
|
||||
export class DefaultCashDenominations extends CashDenominations {}
|
5
models/inventory/Point of Sale/OpeningCash.ts
Normal file
5
models/inventory/Point of Sale/OpeningCash.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { CashDenominations } from './CashDenominations';
|
||||
|
||||
export class OpeningCash extends CashDenominations {
|
||||
count?: number;
|
||||
}
|
Loading…
Reference in New Issue
Block a user