visa master

This commit is contained in:
nurmuhammet committed 2024-10-18 17:51:24 +05:00
1 parent a326e6c2eb
commit 001fe497fd
2 files changed
+30 -2

No files matched your search

@@ -324,6 +324,20 @@ public function rules(): array
*/
'guarantor_card_year' => ['required', 'string'],
/**
* Guarantor Passport serie
*
* @example I-AS
*/
'guarantor_passport_serie' => ['required', 'string', Rule::in(PassportRepo::values())],
/**
* Guarantor Passport number
*
* @example 100999
*/
'guarantor_passport_id' => ['required', 'numeric', 'digits:6'],
/**
* 2. Guarantor name
*
@@ -372,6 +386,20 @@ public function rules(): array
* @example 2040
*/
'guarantor_2_card_year' => [Rule::requiredIf($this->loan_amount > 20000), 'string'],
/**
* Guarantor Passport serie
*
* @example I-AS
*/
'guarantor_2_passport_serie' => ['required', 'string', Rule::in(PassportRepo::values())],
/**
* Guarantor Passport number
*
* @example 100999
*/
'guarantor_2_passport_id' => ['required', 'numeric', 'digits:6'],
];
}
}