@extends('layouts.app') @section('content') @if($sucursales->count() == 1)
Cocina de {{ $sucursal->name }}
@endif @if($sucursales->count() > 1)
@endif
@foreach ($orders as $key => $order)
Orden #{{ $order->order_number }}
{{ $order->time }}
Tiempo máximo: {{ $order->maxtime }}
Tipo: {{ $order->categoryname }}
Cliente: {{ $order->cliente }}
@foreach ($order->details as $i => $detail) @if ($detail->comment != null && $detail->comment != '') @endif @endforeach
Producto Cantidad
{{ $detail->name }}
@foreach ($detail->extras as $j => $extra) {{ $extra->quantity }} - {{ $extra->name }} @endforeach
@foreach ($detail->ingredients as $j => $ingredient) {{-- @if ($ingredient->selected) {{ $ingredient->name }} @else {{ $ingredient->name }} @endif --}}
selected) ? 'checked' : ''}} id="ingredient_{{ $i . '_' . $ingredient->id }}" readonly="true">
@endforeach
{{ $detail->quantity }}
{{ $detail->comment }}
@endforeach
@endsection @section('footer') @endsection