Feature: Added a Mozimo Daily Register which shows products from Menu Items category

This commit is contained in:
2024-08-19 17:01:04 +05:30
parent 860c7d39ef
commit 18524a5f47
19 changed files with 915 additions and 21 deletions

View File

@ -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);
}
}