From af5f4de0da487b173bc8f53861b66ec25540614f Mon Sep 17 00:00:00 2001 From: Marcel Menk Date: Wed, 3 Sep 2025 16:53:56 +0200 Subject: [PATCH] fix: document acceptance elements --- src/customer/accept.blade.php | 10 ++++++---- src/customer/shop/category.blade.php | 11 +++++++++-- src/customer/shop/form.blade.php | 6 +++--- src/layouts/admin.blade.php | 2 +- src/layouts/customer.blade.php | 2 +- src/layouts/public.blade.php | 2 +- 6 files changed, 21 insertions(+), 12 deletions(-) diff --git a/src/customer/accept.blade.php b/src/customer/accept.blade.php index 6045aed..0282e6a 100644 --- a/src/customer/accept.blade.php +++ b/src/customer/accept.blade.php @@ -8,14 +8,15 @@ @csrf @if ($acceptable->isNotEmpty()) @foreach ($acceptable as $accept) -
-
- +
+
+
+
@endforeach diff --git a/src/customer/shop/category.blade.php b/src/customer/shop/category.blade.php index da97186..9c5445b 100644 --- a/src/customer/shop/category.blade.php +++ b/src/customer/shop/category.blade.php @@ -3,7 +3,7 @@ @section('content')
@if (! empty($category)) -
+
@@ -20,7 +20,7 @@
@else -
+
@@ -57,6 +57,13 @@ @if ($user->role == 'customer') {{ __('interface.misc.missing_data_notice') }} + @if (Request::route()?->getName() !== 'customer.profile') +
+
+ + {{ __('interface.actions.complete_now') }} + @endif @else {{ __('interface.misc.order_role_missing_hint') }} @endif diff --git a/src/customer/shop/form.blade.php b/src/customer/shop/form.blade.php index e6eb536..f717292 100644 --- a/src/customer/shop/form.blade.php +++ b/src/customer/shop/form.blade.php @@ -262,9 +262,9 @@
-
-
- +
+
+
' . __($accept->title) . '', 'date' => $accept->latest->created_at->format('d.m.Y, H:i')]) !!} * diff --git a/src/layouts/admin.blade.php b/src/layouts/admin.blade.php index 6934750..6f37ec4 100644 --- a/src/layouts/admin.blade.php +++ b/src/layouts/admin.blade.php @@ -99,7 +99,7 @@ class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt - @if (!empty(request()->get('service_products'))) + @if (!empty(request()->get('service_products')) && request()->get('service_products')->isNotEmpty())