Disable worker-rates-customer rating prompt temporarily

Rating UI not ready in Works app yet. Will re-enable when implemented.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-02-16 11:58:11 -08:00
parent eebf231aad
commit c5614f0f50

View file

@ -86,12 +86,11 @@
<cfset ratingRequired = false>
<cfset ratingsCreated = []>
<!--- For service point tasks, check if worker rating of customer is required (10% based on TaskID) --->
<!--- Use TaskID modulo for deterministic selection - same task always has same requirement --->
<!--- DISABLED: Worker rating of customer (10% sampling) --->
<!--- TODO: Re-enable when rating UI is ready in the app --->
<!---
<cfif hasServicePoint AND customerUserID GT 0 AND workerUserID GT 0>
<cfset ratingRequired = (TaskID MOD 10 EQ 0)>
<!--- If rating required but not provided, return error --->
<cfif ratingRequired AND structIsEmpty(workerRating)>
<cfset apiAbort({
"OK": false,
@ -107,6 +106,7 @@
})>
</cfif>
</cfif>
--->
<!--- === CASH TASK VALIDATION === --->
<cfset cashResult = {}>