This commit is contained in:
nurmuhammet committed 2024-09-25 22:19:33 +05:00
1 parent 9ef0e43083
commit f3be359202
3 files changed
+34 -14

No files matched your search

@@ -301,14 +301,14 @@ public function rules(): array
*
* @example Mahmyt
*/
'guarantor_2_name' => ['required', 'string', 'max:255'],
'guarantor_2_name' => [Rule::requiredIf($this->loan_amount > 20000), 'string', 'max:255'],
/**
* 2. Guarantor surname
*
* @example Allaberdiev
*/
'guarantor_2_surname' => ['required', 'string', 'max:255'],
'guarantor_2_surname' => [Rule::requiredIf($this->loan_amount > 20000), 'string', 'max:255'],
/**
* 2. Guarantor patronic name
@@ -322,28 +322,28 @@ public function rules(): array
*
* @example 4323344234423443
*/
'guarantor_2_card_number' => ['required', 'string', 'digits:16'],
'guarantor_2_card_number' => [Rule::requiredIf($this->loan_amount > 20000), 'string', 'digits:16'],
/**
* 2. Guarantor name on card
*
* @example Mahmyt Allaberdiyev
*/
'guarantor_2_card_name' => ['required', 'string'],
'guarantor_2_card_name' => [Rule::requiredIf($this->loan_amount > 20000), 'string'],
/**
* 2. Guarantor Card month
*
* @example 06
*/
'guarantor_2_card_month' => ['required', 'string'],
'guarantor_2_card_month' => [Rule::requiredIf($this->loan_amount > 20000), 'string'],
/**
* 2. Guarantor Card year
*
* @example 2040
*/
'guarantor_2_card_year' => ['required', 'string'],
'guarantor_2_card_year' => [Rule::requiredIf($this->loan_amount > 20000), 'string'],
];
}
}