From c3206679f476e7fd001756190024e03f05340ea2 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 6 Jul 2024 03:20:30 +0530 Subject: populated items list and total in print preview --- src/classes/invoice.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/classes/invoice.ts') diff --git a/src/classes/invoice.ts b/src/classes/invoice.ts index 213eddc..0fee42f 100644 --- a/src/classes/invoice.ts +++ b/src/classes/invoice.ts @@ -1,7 +1,7 @@ import Address from './address' import Item from './item' -export default class Customer { +export default class Invoice { InvoiceDate: string InvoiceNumber: number BillingAddress: Address @@ -32,3 +32,17 @@ export default class Customer { this.CustomerWebsite = "" } } + +export class InvoiceTotal { + TotalQuantity: string + TotalGSTValue: string + TotalWithoutGST: string + TotalWithGST: string + + constructor() { + this.TotalQuantity = "" + this.TotalGSTValue = "" + this.TotalWithoutGST = "" + this.TotalWithGST = "" + } +} -- cgit v1.2.3