@foreach ($viewDataPedido as $dataPedido)
@foreach ($dataPedido->platos as $itemPlato) @endforeach
{{ trans('pventa.ordenarService.nombre') }} {{ trans('pventa.ordenarService.cantidad') }} {{ trans('pventa.ordenarService.costo') }} {{ trans('pventa.ordenarService.total') }}
{{$itemPlato->nombreProducto}} {{$itemPlato->cantidad}} ${{number_format($itemPlato->valorNeto, 0, ',', '.')}} ${{number_format($itemPlato->valorTotal, 0, ',', '.')}}
{{--
Flex item
--}}
{{ trans('pventa.ordenarService.subtotal') }}
$
{{number_format($dataPedido->subTotal,0,',','.')}}
Descuento
$
{{number_format($orderData->descuento, 2, ',', '.')}}
@if ($dataPedido->impuesto!=null)
{{ trans('pventa.ordenarService.impuesto') }} 8%
$
0
@endif
{{ trans('pventa.propina') }}
%
{{number_format($dataPedido->valuePropina, 0, ',', '.')}}
{{ trans('pventa.ordenarService.total') }}
$
{{number_format($dataPedido->total,0,',','.')}}
{{-- --}}
@endforeach