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