From 01ff96fb74ea8711d4862c08b9c349e652dda844 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Wed, 14 Jan 2026 15:14:34 -0500 Subject: [PATCH] Task Status changes, needs some TLC. --- frontend/src/api.js | 1 + frontend/src/components/common/DataTable.vue | 78 +++++++++++++++++++- frontend/src/components/pages/Tasks.vue | 34 +++++++-- 3 files changed, 104 insertions(+), 9 deletions(-) diff --git a/frontend/src/api.js b/frontend/src/api.js index 00acc3b..44ced60 100644 --- a/frontend/src/api.js +++ b/frontend/src/api.js @@ -24,6 +24,7 @@ const FRAPPE_GET_JOB_TEMPLATES_METHOD = "custom_ui.api.db.jobs.get_job_templates // Task methods const FRAPPE_GET_TASKS_METHOD = "custom_ui.api.db.tasks.get_tasks_table_data"; const FRAPPE_GET_TASKS_STATUS_OPTIONS = "custom_ui.api.db.tasks.get_task_status_options"; +const FRAPPE_SET_TASK_STATUS_METHOD = "custom_ui.api.db.tasks.set_task_status"; // Invoice methods const FRAPPE_GET_INVOICES_METHOD = "custom_ui.api.db.invoices.get_invoice_table_data"; const FRAPPE_UPSERT_INVOICE_METHOD = "custom_ui.api.db.invoices.upsert_invoice"; diff --git a/frontend/src/components/common/DataTable.vue b/frontend/src/components/common/DataTable.vue index a3e22f3..84c7e09 100644 --- a/frontend/src/components/common/DataTable.vue +++ b/frontend/src/components/common/DataTable.vue @@ -383,18 +383,46 @@ >