diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-03 22:16:22 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-03 22:16:22 +0530 |
commit | 37ef1ab2f544a05b5878c5bdaafd37155a054289 (patch) | |
tree | bd2ca480a33b16dd795d7f2a9047d12734f5c61e /src/classes/invoice.ts | |
parent | 511e5f3badb871a4407a1cfef2d17a8c99660d30 (diff) |
added invoice edit page0.1.0
Diffstat (limited to 'src/classes/invoice.ts')
-rw-r--r-- | src/classes/invoice.ts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/classes/invoice.ts b/src/classes/invoice.ts new file mode 100644 index 0000000..213eddc --- /dev/null +++ b/src/classes/invoice.ts @@ -0,0 +1,34 @@ +import Address from './address' +import Item from './item' + +export default class Customer { + InvoiceDate: string + InvoiceNumber: number + BillingAddress: Address + ShippingAddress: Address + IsDraft: boolean + Items: Item[] + + CustomerName: string + CustomerGstin: string + CustomerContactName: string + CustomerPhone: string + CustomerEmail: string + CustomerWebsite: string + + constructor() { + this.InvoiceDate = "" + this.InvoiceNumber = 0 + this.BillingAddress = new Address() + this.ShippingAddress = new Address() + this.IsDraft = true + this.Items = [] + + this.CustomerName = "" + this.CustomerGstin = "" + this.CustomerContactName = "" + this.CustomerPhone = "" + this.CustomerEmail = "" + this.CustomerWebsite = "" + } +} |