aboutsummaryrefslogtreecommitdiff
path: root/src/components/new_customer.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/new_customer.vue')
-rw-r--r--src/components/new_customer.vue22
1 files changed, 11 insertions, 11 deletions
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"
/>
</div>
<div class="col-md-4">
@@ -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"
/>
</div>
<div class="col-md-4">
@@ -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"
/>
</div>
@@ -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"
/>
</div>
<div class="col-md-4">
@@ -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"
/>
</div>
<div class="col-md-4">
@@ -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"
/>
</div>
@@ -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"
></textarea>
</div>
<div class="col-md-5">
@@ -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"
/>
</div>
<div class="col-md-3">
@@ -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"
/>
</div>
<div class="col-md-1">
@@ -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"
/>
</div>
<div class="col-md-3">
@@ -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"
/>
</div>