From 327cf65e6ce39a9544efd87c73f015e7212a7c15 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Sun, 7 Jun 2026 20:43:33 +0000 Subject: [PATCH] Remove vendor logo upload from Mini payment QR create and edit. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vendors only need label, business name, and optional branch — no logo field in the flow. Co-authored-by: Cursor --- app/Http/Controllers/Mini/PaymentQrController.php | 2 -- resources/views/mini/payment-qrs/create.blade.php | 6 +----- resources/views/mini/payment-qrs/show.blade.php | 6 +----- 3 files changed, 2 insertions(+), 12 deletions(-) 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 @@ -
- - -