From 9c240c5c523fe357c5fddca823540878cd91772b Mon Sep 17 00:00:00 2001 From: cp6 Date: Thu, 3 Mar 2022 00:03:42 +1100 Subject: [PATCH] Added locations and providers show on empty Added locations and providers show on empty --- resources/views/locations/show.blade.php | 6 ++++++ resources/views/providers/show.blade.php | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/resources/views/locations/show.blade.php b/resources/views/locations/show.blade.php index ab6e403..5e18bd7 100644 --- a/resources/views/locations/show.blade.php +++ b/resources/views/locations/show.blade.php @@ -18,6 +18,7 @@
+ @if(!empty($data)) @foreach($data as $l) @endforeach + @else + + + + @endif
@@ -40,6 +41,11 @@
No services found for {{ $location ->name }}
diff --git a/resources/views/providers/show.blade.php b/resources/views/providers/show.blade.php index 12d0de4..9898d41 100644 --- a/resources/views/providers/show.blade.php +++ b/resources/views/providers/show.blade.php @@ -18,6 +18,7 @@
+ @if(!empty($data)) @foreach($data as $l) @endforeach + @else + + + + @endif
@@ -40,6 +41,11 @@
No services found for {{ $provider->name }}