DETALLE DEL PEDIDO N° {{ str_pad($id,6,'0',STR_PAD_LEFT) }}
VENDEDOR - {{ $cliente->codigo .' - '. $cliente->nombre }}

created_at)) }}" />
@if( $pedido->nota )
@endif
@foreach( $items as $item ) @endforeach
Codigo Producto Cantidad Unidad Prc. Und Dscto Total
{{ $cont }} {{ $item->producto_codigo }} {{ $item->descripcion }} {{ $item->cantidad }} {{ $item->producto_unidad }} {{ '$'.number_format($item->precio) }} @if($item->descuento + $item->descuentomanager != 0) {{ $item->descuento + $item->descuentomanager}}% @elseif($item->descuento + $item->descuentomanager == 0) {{ $item->descuento + $item->descuentomanager }}% @endif {{ '$'.number_format(($item->cantidad * $item->precio)) }}
SUBTOTAL: ${{ number_format($subtotal) }}
DESCUENTO: ${{ number_format($desctoTotal) }}
TOTAL: ${{ number_format($subtotal - $desctoTotal) }}