@extends('layouts.master') @section('title', 'Vender') @section('content')

Mesa

{{ Html::linkRoute('cajero.vender', 'Volver', Hashids::encode($evento->id, time()), array('class' => 'btn btn-outline-secondary btn-block')) }}
@foreach ($mesas as $key => $mesa)

{{ $mesa->nombre }}

@if(count($mesa->comandasCerradas($evento->id))) @foreach ($mesa->comandasCerradas($evento->id) as $key => $comanda) @endforeach
Hora Producto Cantidad Subtotal Borrar
{{ date('H:i', strtotime($comanda->created_at)) }} {{ $comanda->producto->nombre }} {{ $comanda->cantidad }} $ {{ number_format($comanda->total, 0, '', '.') }}
Total {{ $mesa->cantidad($evento->id) }} {{ number_format($mesa->total($evento->id), 0, '', '.') }}
@else

No Existen Registros


@endif
@endforeach
@endsection @section('javascript') @endsection