Skip to content

Commit e5f007c

Browse files
committed
fix:appointment map issue
1 parent 3579194 commit e5f007c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

resources/views/backend/user/appointmentsApproved.blade.php

+5
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,16 @@ class="badge bg-success p-2">{{ $appointment->expertProfile?->post }}</span>
8888
</td>
8989
@if($appointment->map_id)
9090
<td>
91+
@if ($appointment->map)
9192
<strong>Location: {{ $appointment->map->location }}</strong>
9293
<strong class="d-block">Address:</strong>
9394
<p class="text-muted">
9495
{{ $appointment->map->address }}
9596
</p>
97+
@else
98+
No branch selected
99+
@endif
100+
96101
</td>
97102
@else
98103
<td>

0 commit comments

Comments
 (0)