Added locations and providers show on empty
Added locations and providers show on empty
This commit is contained in:
parent
1f33eebf3c
commit
9c240c5c52
|
@ -18,6 +18,7 @@
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-borderless text-nowrap">
|
<table class="table table-borderless text-nowrap">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@if(!empty($data))
|
||||||
@foreach($data as $l)
|
@foreach($data as $l)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="py-2 text-muted">
|
<td class="py-2 text-muted">
|
||||||
|
@ -40,6 +41,11 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
@else
|
||||||
|
<tr>
|
||||||
|
<td class="px-4 py-2 text-muted" colspan="3">No services found for {{ $location ->name }}</td>
|
||||||
|
</tr>
|
||||||
|
@endif
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-borderless text-nowrap">
|
<table class="table table-borderless text-nowrap">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@if(!empty($data))
|
||||||
@foreach($data as $l)
|
@foreach($data as $l)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="py-2 text-muted">
|
<td class="py-2 text-muted">
|
||||||
|
@ -40,6 +41,11 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
@else
|
||||||
|
<tr>
|
||||||
|
<td class="px-4 py-2 text-muted" colspan="3">No services found for {{ $provider->name }}</td>
|
||||||
|
</tr>
|
||||||
|
@endif
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user