From d5c95688f17bcd34577e3357a725298071407c57 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 7 Dec 2023 20:55:14 +0530 Subject: turned print preview white --- src/components/invoice_header.vue | 6 +++--- src/components/invoice_header_editor.vue | 1 - src/router/index.ts | 1 - src/views/ViewInvoice.vue | 2 +- 4 files changed, 4 insertions(+), 6 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 @@ @@ -56,7 +56,7 @@ const props = defineProps(["invoice"])
- + @@ -86,7 +86,7 @@ const props = defineProps(["invoice"])
AddressBilling Address {{ props.invoice.BillingAddress.AddressText }}
- + 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(), diff --git a/src/router/index.ts b/src/router/index.ts index 32a2962..d498728 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -85,7 +85,6 @@ const router = createRouter({ }) router.beforeEach((to, _, next) => { - console.log(to.fullPath) if (to.meta.isAuth && !localStorage.getItem('authToken')) { next(`/login?redirect=${to.fullPath}`) } else { diff --git a/src/views/ViewInvoice.vue b/src/views/ViewInvoice.vue index 4ac8325..68857b4 100644 --- a/src/views/ViewInvoice.vue +++ b/src/views/ViewInvoice.vue @@ -51,7 +51,7 @@ onMounted(() => {
AddressShipping Address {{ props.invoice.ShippingAddress.AddressText }}