PEDIDO #{{ str_pad($pedido->id, 6, 0, STR_PAD_LEFT ) }} | NIT: {{ $cliente->nit }} | {{$cliente->sucursal_nombre}} {{ $vendedor->nombre }} | {{ $vendedor->codigo }}    

created_at)) }}" />






DETALLE DEL PEDIDO
@foreach( $items as $item ) @endforeach
Proveedor Marca Producto Cantidad Unidad Precio Bruto Dscto Adicional Dscto. Automático Precio Neto
{{ $cont }} {{ $item->proveedor }} {{ $item->marca }} {{ $item->producto_codigo.' - '.$item->descripcion }} {{ $item->cantidad }} {{ $item->producto_unidad }} {{ '$'.number_format($item->precio) }} @if($item->descuento + $item->descuentomanager != 0) {{ number_format($item->descuento + $item->descuentomanager) }}% @elseif($item->descuento + $item->descuentomanager == 0) {{ number_format($item->descuento + $item->descuentomanager) }}% @endif ${{ number_format($item->descuentoautomatico) }} {{ '$'.number_format(($item->cantidad * $item->precio)) }}
SUBTOTAL: ${{ number_format($subtotal) }}
DESCUENTO: ${{ number_format($desctoTotal) }}
TOTAL: ${{ number_format($subtotal - $desctoTotal) }}
RECAUDOS REGISTRADOS
@foreach( $recaudos as $recaudo ) @endforeach
FECHA DE RECAUDO FECHA DE RECEPCION RECAUDO # IMAGEN
{{ date( 'm-d-Y', strtotime($recaudo->fecha) ) }} {{date( 'm-d-Y', strtotime($recaudo->created_at) )}} {{ $recaudo->numero }}
DOCUMENTOS PENDIENTES
@foreach( $cxcpendiente as $cuentas1 ) @endforeach
SUC FECHA DE FACTURA TIPO DOC Nº DOCUMENTO FECHA VENCE DEBITOS CREDITOS SALDO PLAZO DIAS VENCIDO
{{ $cuentas1->sucursal }} {{ $cuentas1->fecha }} {{ $cuentas1->tipo }} {{ $cuentas1->documento }} {{ $cuentas1->vence }} {{ number_format($cuentas1->debitos) }} {{ number_format($cuentas1->creditos) }} {{ number_format($cuentas1->saldo) }} {{ \Utils::dateDiffDays($cuentas1->fecha, $cuentas1->vence) }} {{ $cuentas1->dias }}
TOTAL: ${{ number_format( $totalDebitos ) }} ${{ number_format( $totalCreditos ) }} ${{ number_format( $totalSaldo ) }} ${{ number_format( $totalVencidoFVC + $totalVencidoFVD + $totalVencidoFVS ) }}

RESUMEN POR TIPO DE DOCUMENTO:


@if( $totalFVC3 > 0 ) @endif @if( $totalFVD3 > 0 ) @endif @if( $totalFVS3 > 0 ) @endif @if( $totalCH3 > 0 ) @endif @if( $totalCHB3 > 0 ) @endif @if( $totalCHL3 > 0 ) @endif @if( $totalNCC3 != 0 ) @endif @if( $totalRC3 > 0 ) @endif @if( $totalRCB3 > 0 ) @endif @if( $totalRCL3 > 0 ) @endif @if( $totalRCC3 > 0 ) @endif @if( $totalRCT3 > 0 ) @endif
TIPO DOC. SALDO SALDO VENCIDO
FVC ${{ number_format( $totalFVC3 ) }} ${{ number_format( $totalVencidoFVC ) }}
FVD ${{ number_format( $totalFVD3 ) }} ${{ number_format( $totalVencidoFVD ) }}
FVS ${{ number_format( $totalFVS3 ) }} ${{ number_format( $totalVencidoFVS ) }}
CHD ${{ number_format( $totalCH3 ) }}  
CHB ${{ number_format( $totalCHB3 ) }}  
CHL ${{ number_format( $totalCHL3 ) }}  
NCC ${{ number_format( $totalNCC3 ) }}  
RC ${{ number_format( $totalRC3 ) }}  
RCB ${{ number_format( $totalRCB3 ) }}  
RCL ${{ number_format( $totalRCL3 ) }}  
RCC ${{ number_format( $totalRCC3 ) }}  
RCT ${{ number_format( $totalRCT3 ) }}  
DOCUMENTOS CANCELADOS
SUC FECHA DE FACTURA TIPO DOC Nº DOC VALOR FECHA VENCE FECHA CANCELA PLAZO DIAS PAGO DIAS VENCIDO
TOTAL: ${{ number_format( $total2Credito ) }} PROMEDIO: {{ round($promedioPago / $contProm) }} {{ round($promedioVence / $contProm) }}