aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 20:55:14 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 20:55:14 +0530
commitd5c95688f17bcd34577e3357a725298071407c57 (patch)
tree2f24b967b9b77eca426f8f98194f59206ecbce5a /src/components
parent875e3177958f19688f066b1323d014abede70003 (diff)
turned print preview white
Diffstat (limited to 'src/components')
-rw-r--r--src/components/invoice_header.vue6
-rw-r--r--src/components/invoice_header_editor.vue1
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(),