wip
This commit is contained in:
1 parent
975662d79c
commit
ab9bc6a270
1 file changed
+2
-2
@@ -392,14 +392,14 @@ public function rules(): array
|
||||
*
|
||||
* @example I-AS
|
||||
*/
|
||||
'guarantor_2_passport_serie' => ['required', 'string', Rule::in(PassportRepo::values())],
|
||||
'guarantor_2_passport_serie' => [Rule::requiredIf($this->loan_amount > 20000), 'string', Rule::in(PassportRepo::values())],
|
||||
|
||||
/**
|
||||
* Guarantor Passport number
|
||||
*
|
||||
* @example 100999
|
||||
*/
|
||||
'guarantor_2_passport_id' => ['required', 'numeric', 'digits:6'],
|
||||
'guarantor_2_passport_id' => [Rule::requiredIf($this->loan_amount > 20000), 'numeric', 'digits:6'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user