aboutsummaryrefslogtreecommitdiff
path: root/src/components/invoice_header_editor.vue
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 05:01:08 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 05:01:08 +0530
commit4c48edc7905d6fb16b01ea707ee7e730dff78ced (patch)
tree343839b5c7bcd7abf24ba7ef9f3ba7c33ccf78f8 /src/components/invoice_header_editor.vue
parent464dac56714f4fb187785abda04bf3f2170af2a2 (diff)
added view invoice page with print button!0.3.0
Diffstat (limited to 'src/components/invoice_header_editor.vue')
-rw-r--r--src/components/invoice_header_editor.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/invoice_header_editor.vue b/src/components/invoice_header_editor.vue
index 0a39ce5..6bd62b8 100644
--- a/src/components/invoice_header_editor.vue
+++ b/src/components/invoice_header_editor.vue
@@ -58,7 +58,7 @@ const submit = async (e: Event) => {
"customerwebsite": c.Website,
})
- route.push({ name: "edit-draft", params: { id: res.data.data.ID }})
+ route.push({ name: "edit-invoice", params: { id: res.data.data.ID }})
} catch (err: any) {
const statusCode: any = err.request.status
const res: any = JSON.parse(err.request.response)