import { ItemViewModel } from "../stock/MedStock.class"; import { InstalmentVewModel } from "../store/store-model"; export class ExpenseDetailModel { Id: number; Code: string FK_Mast: number | null; FK_Emp: ItemViewModel; FK_Item: ItemViewModel; FK_ExpHead: ItemViewModel; FK_Exp_Account: ItemViewModel; PkgAmount: number | null; ExpAmount: number | null; VatAmount: number | null; NetExpAmount: number | null; AmountDiff: number | null; Detail: string; FK_Dr_Account: ItemViewModel; FK_Cr_Account: ItemViewModel; CreatedBy: string; CreationDate: Date; UpdatedBy: string; UpdationDate: Date | string | null; RecordStatus: boolean | null; IsLock: boolean; TF_Pic: string; surchargeAmount: number; } export class ExpenseMastModel { Id: number; BillFromDate: Date; UptoDate: Date; FkCategory: ItemViewModel; ExpAmount: number | null; PkgAmount: number | null; Remarks: string; CreatedBy: string; CreationDate: Date; UpdatedBy: string; UpdationDate: Date | string | null; RecordStatus: boolean | null; Fk_Exp_Acc: ItemViewModel; Items: ExpenseDetailModel[]; IsGeneralExpense: boolean; } export class GenralExpenseModel { Id: number; Code: string FK_Emp: ItemViewModel; FK_Item: ItemViewModel; FK_ExpHead: ItemViewModel; PkgAmount: number | null; ExpAmount: number | null; VatAmount: number | null; NetExpAmount: number | null; AmountDiff: number | null; Detail: string; FK_Dr_Account: ItemViewModel; FK_Cr_Account: ItemViewModel; CreatedBy: string; CreationDate: Date; UpdatedBy: string; UpdationDate: Date | string | null; RecordStatus: boolean | null; IsLock: boolean; TF_Pic: string; surchargeAmount: number; FK_Surcharge_Account: ItemViewModel; FK_Item_Category: ItemViewModel; file: any; ExpDate: Date; PaymentType: string; Remarks: string; FromDate: Date; ToDate: Date; PaidSlip: string; IsGeneralExpense:boolean; } export class TraficFinePayment { trns: InstalmentVewModel; selection: GenralExpenseModel[] = []; }