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/components/invoice_header.vue | 213 +++++++++++++++---------------- src/components/invoice_header_editor.vue | 151 ++++++++++++++++++++++ src/components/item_selector.vue | 176 +++++++++++++++++++++++++ src/components/new_customer.vue | 22 ++-- 4 files changed, 443 insertions(+), 119 deletions(-) create mode 100644 src/components/invoice_header_editor.vue create mode 100644 src/components/item_selector.vue (limited to 'src/components') diff --git a/src/components/invoice_header.vue b/src/components/invoice_header.vue index 2c62f15..2c3c515 100644 --- a/src/components/invoice_header.vue +++ b/src/components/invoice_header.vue @@ -1,118 +1,115 @@ diff --git a/src/components/invoice_header_editor.vue b/src/components/invoice_header_editor.vue new file mode 100644 index 0000000..0a39ce5 --- /dev/null +++ b/src/components/invoice_header_editor.vue @@ -0,0 +1,151 @@ + + + diff --git a/src/components/item_selector.vue b/src/components/item_selector.vue new file mode 100644 index 0000000..5dc9b84 --- /dev/null +++ b/src/components/item_selector.vue @@ -0,0 +1,176 @@ + + + diff --git a/src/components/new_customer.vue b/src/components/new_customer.vue index cbabac4..abb8736 100644 --- a/src/components/new_customer.vue +++ b/src/components/new_customer.vue @@ -48,7 +48,7 @@ const submit = async (e) => { class="form-control" id="customer-name-input" placeholder="Firm Name" - v-model="customer.name" + v-model="customer.Name" />
@@ -58,7 +58,7 @@ const submit = async (e) => { class="form-control" id="customer-gstin-input" placeholder="22AAAAA0000A1Z5" - v-model="customer.gstin" + v-model="customer.Gstin" />
@@ -68,7 +68,7 @@ const submit = async (e) => { class="form-control" id="customer-contactname-input" placeholder="Contact Name" - v-model="customer.contactname" + v-model="customer.ContactName" />
@@ -79,7 +79,7 @@ const submit = async (e) => { class="form-control" id="customer-phone-input" placeholder="Contact Number" - v-model="customer.phone" + v-model="customer.Phone" />
@@ -89,7 +89,7 @@ const submit = async (e) => { class="form-control" id="customer-email-input" placeholder="E-Mail Address" - v-model="customer.email" + v-model="customer.Email" />
@@ -99,7 +99,7 @@ const submit = async (e) => { class="form-control" id="customer-website-input" placeholder="Website" - v-model="customer.website" + v-model="customer.Website" />
@@ -110,7 +110,7 @@ const submit = async (e) => { class="form-control" id="inputAddress" placeholder="1234 Main St" - v-model="customer.billingaddress.addresstext" + v-model="customer.BillingAddress.AddressText" >
@@ -119,7 +119,7 @@ const submit = async (e) => { type="text" class="form-control" id="inputCity" - v-model="customer.billingaddress.city" + v-model="customer.BillingAddress.city" />
@@ -128,7 +128,7 @@ const submit = async (e) => { type="text" class="form-control" id="inputState" - v-model="customer.billingaddress.state" + v-model="customer.BillingAddress.state" />
@@ -137,7 +137,7 @@ const submit = async (e) => { type="text" class="form-control" id="inputZip" - v-model="customer.billingaddress.postalcode" + v-model="customer.BillingAddress.postalcode" />
@@ -146,7 +146,7 @@ const submit = async (e) => { type="text" class="form-control" id="inputCountry" - v-model="customer.billingaddress.country" + v-model="customer.BillingAddress.country" />
-- cgit v1.2.3