@include('partials.flash')
@if ($order->restorant)
{{ __('Restaurant information') }}
{{ $order->restorant->name }}
{{ $order->restorant->address }}
{{ $order->restorant->phone }}
{{ $order->restorant->user->name.", ".$order->restorant->user->email }}
@endif
@if (config('app.isft')&&$order->client)
{{ __('Client Information') }}
{{ $order->client?$order->client->name:"" }}
{{ $order->client?$order->client->email:"" }}
{{ $order->address?$order->address->address:"" }}
@if(!empty($order->address->apartment))
{{ __("Apartment number") }}: {{ $order->address->apartment }}
@endif
@if(!empty($order->address->entry))
{{ __("Entry number") }}: {{ $order->address->entry }}
@endif
@if(!empty($order->address->floor))
{{ __("Floor") }}: {{ $order->address->floor }}
@endif
@if(!empty($order->address->intercom))
{{ __("Intercom") }}: {{ $order->address->intercom }}
@endif
@if($order->client&&!empty($order->client->phone))
{{ __('Contact')}}: {{ $order->client->phone }}
@endif
@else
@if ($order->table)
{{ __('Table Information') }}
{{ __('Table:')." ".$order->table->name }}
@if ($order->table->restoarea)
{{ __('Area:')." ".$order->table->restoarea->name }}
@endif
@endif
@endif