fix: remove payment method

This commit is contained in:
Djery-Tom 2023-07-31 14:21:14 +01:00
parent 21cf029a13
commit 0f65d9d1df
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class InsuranceInvoiceController extends Controller
'password' => 'required|string',
'amount' => 'required|numeric|min:0',
'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_token' => 'required_with:payment_transaction_id|string', // A envoyer apres avoir effectuer le paiement
'otp' => 'nullable|string'