From 0f65d9d1dfb25e5ad0b769b67a845c5c4f1f75c2 Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Mon, 31 Jul 2023 14:21:14 +0100 Subject: [PATCH] fix: remove payment method --- app/Http/Controllers/InsuranceInvoiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/InsuranceInvoiceController.php b/app/Http/Controllers/InsuranceInvoiceController.php index d8ba4c6..6ab5042 100644 --- a/app/Http/Controllers/InsuranceInvoiceController.php +++ b/app/Http/Controllers/InsuranceInvoiceController.php @@ -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'