This commit is contained in:
2024-11-05 15:24:12 +05:00
parent 975662d79c
commit ab9bc6a270

View File

@@ -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'],
]; ];
} }
} }