fix order detail bug, use proper variable to check if shop is set

This commit is contained in:
Olivier Legat 2022-11-04 18:41:42 +01:00
parent c504e41089
commit 69a930ca8d
No known key found for this signature in database
GPG key ID: E6DCE8D1E33A5803

View file

@ -60,7 +60,7 @@
</tr>
</tbody>
</table>
@if (!empty($order->timeslot))
@if (!empty($magasin))
<p>
A retirer le <b>{{$order->timeslot->day}} à {{$order->timeslot->time}}</b>, à l'adresse suivante :</br>
<b>Mon point de retrait {{$magasin->name}}, {{$magasin->address}}, {{$magasin->postcode}} {{$magasin->city}}</b>