diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/invoice_header.vue | 6 | ||||
-rw-r--r-- | src/components/invoice_header_editor.vue | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/components/invoice_header.vue b/src/components/invoice_header.vue index 2c3c515..5a57fc8 100644 --- a/src/components/invoice_header.vue +++ b/src/components/invoice_header.vue @@ -1,5 +1,5 @@ <script setup lang="ts"> -import { toRaw, defineProps } from 'vue' +import { defineProps } from 'vue' const props = defineProps(["invoice"]) </script> @@ -56,7 +56,7 @@ const props = defineProps(["invoice"]) <div class="col-md-3"> <table class="table"> <tr> - <td>Address</td> + <td>Billing Address</td> <td>{{ props.invoice.BillingAddress.AddressText }}</td> </tr> @@ -86,7 +86,7 @@ const props = defineProps(["invoice"]) <div class="col-md-3"> <table class="table"> <tr> - <td>Address</td> + <td>Shipping Address</td> <td>{{ props.invoice.ShippingAddress.AddressText }}</td> </tr> diff --git a/src/components/invoice_header_editor.vue b/src/components/invoice_header_editor.vue index 964bd04..ffc5fb0 100644 --- a/src/components/invoice_header_editor.vue +++ b/src/components/invoice_header_editor.vue @@ -44,7 +44,6 @@ const submit = async (e: Event) => { try { const c = toRaw(customer.value) - console.log(c.BillingAddress) const res = await axios.post('/invoice', { "invoicedate": new Date(toRaw(invoiceDate.value)).toISOString(), |