Feature: Added a Mozimo Daily Register which shows products from Menu Items category
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
import { Product } from '../core/product';
|
||||
|
||||
export class MozimoDailyRegisterItem {
|
||||
id: string | null;
|
||||
product: Product;
|
||||
opening: number;
|
||||
received: number;
|
||||
sale: number;
|
||||
nc: number;
|
||||
display: number | null;
|
||||
ageing: number | null;
|
||||
variance: number | null;
|
||||
closing: number;
|
||||
lastEditDate: string | null;
|
||||
|
||||
public constructor(init?: Partial<MozimoDailyRegisterItem>) {
|
||||
this.id = null;
|
||||
this.product = new Product();
|
||||
this.opening = 0;
|
||||
this.received = 0;
|
||||
this.sale = 0;
|
||||
this.nc = 0;
|
||||
this.display = null;
|
||||
this.ageing = null;
|
||||
this.variance = null;
|
||||
this.closing = 0;
|
||||
this.lastEditDate = null;
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user