fix(android): mirror documented absent company outcome
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ package com.korexlabs.dhinspeccion.domain
|
|||||||
*/
|
*/
|
||||||
object MobileWorkflowRules {
|
object MobileWorkflowRules {
|
||||||
private val validUrgencies = setOf("URGENT", "NON_URGENT")
|
private val validUrgencies = setOf("URGENT", "NON_URGENT")
|
||||||
private val terminalCompanyOutcomes = setOf("SIGNED", "REFUSED")
|
private val terminalCompanyOutcomes = setOf("SIGNED", "REFUSED", "ABSENT")
|
||||||
|
|
||||||
fun canStartInspection(status: String): Boolean = status == "PLANNED"
|
fun canStartInspection(status: String): Boolean = status == "PLANNED"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user