From 5ed964b49d6a15a95df4992156610dcd50ec046e Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Sat, 24 Jan 2026 17:11:05 -0500 Subject: [PATCH] Added a button to create an invoice. VERY PLACEHOLDER. --- frontend/src/components/pages/Job.vue | 29 +++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/pages/Job.vue b/frontend/src/components/pages/Job.vue index 5b500a6..2bdef8c 100644 --- a/frontend/src/components/pages/Job.vue +++ b/frontend/src/components/pages/Job.vue @@ -13,7 +13,7 @@ @@ -32,6 +32,26 @@ +
+ + + + +
[ }, ]); +const createInvoiceForJob = async () => { + console.log(job); + await Api.createInvoiceForJob(job.value.name); +} + const handleLazyLoad = async (event) => { console.log("Task list on Job Page - handling lazy load:", event); try { @@ -232,7 +257,7 @@ const handleLazyLoad = async (event) => { onMounted(async () => { console.log("DEBUG: Query params:", route.query); - + try { const optionsResult = await Api.getTaskStatusOptions(); if (optionsResult && optionsResult.length > 0) {