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

created_at)) }}" />


@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)) }}







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