From 37ef1ab2f544a05b5878c5bdaafd37155a054289 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 3 Dec 2023 22:16:22 +0530 Subject: added invoice edit page --- src/classes/invoice.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/classes/invoice.ts (limited to 'src/classes/invoice.ts') 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 = "" + } +} -- cgit v1.2.3