aboutsummaryrefslogtreecommitdiff
path: root/src/classes/invoice.ts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-06 03:20:30 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-06 03:20:30 +0530
commitc3206679f476e7fd001756190024e03f05340ea2 (patch)
tree7d643c0dbcd54eff481d4612afe65a4191517ac8 /src/classes/invoice.ts
parent63823d41addec00556a93eabffa455630d169ca6 (diff)
populated items list and total in print preview
Diffstat (limited to 'src/classes/invoice.ts')
-rw-r--r--src/classes/invoice.ts16
1 files changed, 15 insertions, 1 deletions
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 = ""
+ }
+}