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

Cierre Mesa {{ $evento->nombre }} {{ $mesa->nombre }}

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

{{ $mesa->nombre }}

@if(count($comandas)) @foreach ($comandas as $key => $comanda) @endforeach @if($descuento) @else @endif
Producto Cantidad Subtotal Borrar
{{ $comanda->producto->nombre }} {{ $comanda->cantidad }} $ {{ number_format($comanda->total, 0, '', '.') }}
Descuento {{ number_format($mesa->total($evento->id) * ($descuento/100), 0, '', '.') }}
Total {{ $mesa->cantidad($evento->id) }} {{ number_format($mesa->total($evento->id) * (1-($descuento/100)), 0, '', '.') }}
Total {{ $mesa->cantidad($evento->id) }} {{ number_format($mesa->total($evento->id), 0, '', '.') }}
@else

No Existen Registros


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