Added locations and providers show on empty

Added locations and providers show on empty
This commit is contained in:
cp6 2022-03-03 00:03:42 +11:00
parent 1f33eebf3c
commit 9c240c5c52
2 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,7 @@
<div class="table-responsive">
<table class="table table-borderless text-nowrap">
<tbody>
@if(!empty($data))
@foreach($data as $l)
<tr>
<td class="py-2 text-muted">
@ -40,6 +41,11 @@
</td>
</tr>
@endforeach
@else
<tr>
<td class="px-4 py-2 text-muted" colspan="3">No services found for {{ $location ->name }}</td>
</tr>
@endif
</tbody>
</table>
</div>

View File

@ -18,6 +18,7 @@
<div class="table-responsive">
<table class="table table-borderless text-nowrap">
<tbody>
@if(!empty($data))
@foreach($data as $l)
<tr>
<td class="py-2 text-muted">
@ -40,6 +41,11 @@
</td>
</tr>
@endforeach
@else
<tr>
<td class="px-4 py-2 text-muted" colspan="3">No services found for {{ $provider->name }}</td>
</tr>
@endif
</tbody>
</table>
</div>