@if(count($mesas))
@foreach ($mesas as $key => $mesa)
@endif
@endforeach
@if(count($comandasBarra))
@endif
@if(Auth::User()->hasRole('administrador'))
@else
@endif
@else
@endif
{{ $mesa->nombre }}
@if(count($mesa->comandas($evento->id)))
@if(count($mesa->comandasCerradas($evento->id)))
@foreach ($mesa->comandasCerradasGrupos($evento->id) as $keyHash => $grupo)
@endforeach @endif @if(count($mesa->comandas($evento->id)))
| Hora | Por | Producto | Descuento | Cantidad | Subtotal | |
|---|---|---|---|---|---|---|
| {{ date('H:i', strtotime($comanda->created_at)) }} | {{ @$comanda->user->name }} | {{ $comanda->producto->nombre }} | @if($comanda->descuento){{ $comanda->descuento * 100 }}% | @else@endif | {{ $comanda->cantidad }} | ${{ number_format($comanda->total, 0, '', '.') }} |
| {{ date('H:i', strtotime($comanda->updated_at)) }} | {{ @$comanda->medio->nombre }} | {{ $mesa->cantidadGrupo($keyHash) }} | ${{ number_format($mesa->totalGrupo($keyHash), 0, '', '.') }} |
@endforeach @endif @if(count($mesa->comandas($evento->id)))
Barra
Resumen
| Pendiente | Efectivo | Debito / Credito | QR | Transferencia | Free | Total | |
|---|---|---|---|---|---|---|---|
| Monto | $ {{ number_format($evento->comandasMedio(7), 0, ',', '.') }} | $ {{ number_format($evento->comandasMedio(1), 0, ',', '.') }} | $ {{ number_format($evento->comandasMedio(2), 0, ',', '.') }} | $ {{ number_format($evento->comandasMedio(6), 0, ',', '.') }} | $ {{ number_format($evento->comandasMedio(5), 0, ',', '.') }} | $ {{ number_format($evento->comandasMedio(4), 0, ',', '.') }} | $ {{ number_format($evento->comandasMedio(7) + $evento->comandasMedio(1) + $evento->comandasMedio(2) + $evento->comandasMedio(6) + $evento->comandasMedio(5), 0, ',', '.') }} |
Resumen
| Pendiente | Efectivo | |
|---|---|---|
| Monto | $ {{ number_format($evento->comandasMedio(7), 0, ',', '.') }} | $ {{ number_format($evento->comandasMedio(1), 0, ',', '.') }} |
No Existen Mesas Activas