@if(config('app.isft')&&$order->restorant)
@if ($order->restorant)
@include('orders.partials.map',['order'=>$order])
@endif
@endif
@if ($order->client_id!=null&&$order->client_id!=$order->restorant->id)
@include('clients.profile',['client'=>$order->client])
@endif
@include('orders.partials.orderstatus')
@if(auth()->user()->hasAnyRole(['admin','owner','staff','driver']))
@foreach ($orderModules as $orderModule)
@include($orderModule.'::card')
@endforeach
@endif
@if(auth()->user()->hasRole('client'))
@if($order->status->pluck('alias')->last() == "delivered"||$order->status->pluck('alias')->last() == "closed")
@include('orders.partials.rating',['order'=>$order])
@endif
@endif