fix: remove payment method
This commit is contained in:
parent
21cf029a13
commit
0f65d9d1df
|
@ -255,7 +255,7 @@ class InsuranceInvoiceController extends Controller
|
||||||
'password' => 'required|string',
|
'password' => 'required|string',
|
||||||
'amount' => 'required|numeric|min:0',
|
'amount' => 'required|numeric|min:0',
|
||||||
'payment_method' => 'required|string|in:CARD,MOBILE_MONEY,WALLET',
|
'payment_method' => 'required|string|in:CARD,MOBILE_MONEY,WALLET',
|
||||||
'payment_phone' => 'required_unless:payment_method,WALLET|string',
|
// 'payment_phone' => 'required_unless:payment_method,WALLET|string',
|
||||||
'payment_transaction_id' => 'nullable|exists:payment_transactions,transaction_id', // A envoyer apres avoir effectuer le paiement
|
'payment_transaction_id' => 'nullable|exists:payment_transactions,transaction_id', // A envoyer apres avoir effectuer le paiement
|
||||||
// 'payment_token' => 'required_with:payment_transaction_id|string', // A envoyer apres avoir effectuer le paiement
|
// 'payment_token' => 'required_with:payment_transaction_id|string', // A envoyer apres avoir effectuer le paiement
|
||||||
'otp' => 'nullable|string'
|
'otp' => 'nullable|string'
|
||||||
|
|
Loading…
Reference in New Issue