DETALLE DEL PEDIDO N° {{ $id }} @if( ($pedido->av) == 1 ) - {{ APROBADO }} @elseif( ($pedido->av) == 2 ) - {{ RECHAZADO }} @elseif( ($pedido->av) == 0 ) - {{ PENDIENTE }} @endif

created_at)) }}" />
@if( $pedido->nota )
@endif

@foreach( $items as $item ) @endforeach
Producto Cantidad Unidad Precio Bruto Dscto. Automático Dscto. Adicional Total
{{ $item->producto_codigo.' - '.$item->descripcion }} {{ $item->cantidad }} {{ $item->producto_unidad }} {{ '$'.number_format($item->precio) }} ${{ number_format($item->descuentoautomatico) }} @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 - $item->descuentoautomatico ) ) }}







SUBTOTAL: ${{ number_format($subtotal) }}
DESCUENTO: ${{ number_format($desctoTotal) }}
TOTAL: ${{ number_format($subtotal - $desctoTotal) }}