From 7caf4d60b06a5aebee2b310c12fc370896180e8f Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Mon, 16 Feb 2026 19:24:59 -0800 Subject: [PATCH] Fix delivery task creation when other tasks exist for order The duplicate check was preventing delivery task creation if ANY task existed for the order (e.g., Cash or Chat tasks). Now only checks for TaskTypeID=1 (delivery/pickup tasks) to allow proper task creation. Co-Authored-By: Claude Opus 4.5 --- api/orders/updateStatus.cfm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/orders/updateStatus.cfm b/api/orders/updateStatus.cfm index 7a9bef4..af4d35f 100644 --- a/api/orders/updateStatus.cfm +++ b/api/orders/updateStatus.cfm @@ -90,9 +90,10 @@ - + +