visa master
This commit is contained in:
@@ -324,6 +324,20 @@ class LoanOrderStoreRequest extends FormRequest
|
||||
*/
|
||||
'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 @@ class LoanOrderStoreRequest extends FormRequest
|
||||
* @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'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ class VisaMasterPaymentOrder extends Model implements HasMedia
|
||||
'payment_reciever' => 'array',
|
||||
];
|
||||
|
||||
/**
|
||||
/**
|
||||
* The "booted" method of the model.
|
||||
*/
|
||||
protected static function booted(): void
|
||||
@@ -53,7 +53,7 @@ class VisaMasterPaymentOrder extends Model implements HasMedia
|
||||
|
||||
sendSMS(
|
||||
phone: $user->phone,
|
||||
message: $visaMasterPaymentOrder->unique_id . 'belgili sargydyňyz kanagatlandyryldy. Banka ýüztutmagyňyzy Sizden haýyş edýäris.'
|
||||
message: $visaMasterPaymentOrder->unique_id.'belgili sargydyňyz kanagatlandyryldy. Banka ýüztutmagyňyzy Sizden haýyş edýäris.'
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user