wip
This commit is contained in:
@@ -392,14 +392,14 @@ class LoanOrderStoreRequest extends FormRequest
|
|||||||
*
|
*
|
||||||
* @example I-AS
|
* @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
|
* Guarantor Passport number
|
||||||
*
|
*
|
||||||
* @example 100999
|
* @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