diff --git a/app/Http/Controllers/Mini/PaymentQrController.php b/app/Http/Controllers/Mini/PaymentQrController.php index e472d6e..db79985 100644 --- a/app/Http/Controllers/Mini/PaymentQrController.php +++ b/app/Http/Controllers/Mini/PaymentQrController.php @@ -55,7 +55,6 @@ class PaymentQrController extends Controller 'label' => 'required|string|max:120', 'business_name' => 'required|string|max:120', 'branch_label' => 'nullable|string|max:80', - 'payment_logo' => 'nullable|image|max:2048', ]); $data['type'] = QrCode::TYPE_PAYMENT; @@ -91,7 +90,6 @@ class PaymentQrController extends Controller 'business_name' => 'sometimes|string|max:120', 'branch_label' => 'nullable|string|max:80', 'is_active' => 'sometimes|boolean', - 'payment_logo' => 'nullable|image|max:2048', ]); try { diff --git a/resources/views/mini/payment-qrs/create.blade.php b/resources/views/mini/payment-qrs/create.blade.php index 8ba549f..fc77885 100644 --- a/resources/views/mini/payment-qrs/create.blade.php +++ b/resources/views/mini/payment-qrs/create.blade.php @@ -20,7 +20,7 @@ @if(session('error'))
{{ session('error') }}
@endif -
+ @csrf
@@ -39,10 +39,6 @@
-
- - -
diff --git a/resources/views/mini/payment-qrs/show.blade.php b/resources/views/mini/payment-qrs/show.blade.php index b7447fd..63847f1 100644 --- a/resources/views/mini/payment-qrs/show.blade.php +++ b/resources/views/mini/payment-qrs/show.blade.php @@ -40,7 +40,7 @@

{{ $qrCode->publicUrl() }}

-
+ @csrf @method('PATCH')

Settings

@@ -56,10 +56,6 @@ -
- - -