| GENERAL | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| FECHA | {{ \Carbon\Carbon::parse($fecha)->format('d/m/Y') }} | BONOS Y APOYOS | $ {{ number_format($totalBono, 2) }} | |||||
|---|---|---|---|---|---|---|---|---|
| VENTA NUEVA | $ {{ number_format($totalVentaNueva, 2) }} | COMISIÓN GENERADA | $ {{ number_format($totalVenta, 2) }} | |||||
| COMPETENCIA | $ {{ number_format($totalCompetencia, 2) }} | DESCUENTO | $ {{ number_format($totalDescuento, 2) }} | |||||
| REEXPEDICIÓN | $ {{ number_format($totalReposicion, 2) }} | COMISIÓN TOTAL | $ {{ number_format(($totalBono + $totalVenta) - $totalDescuento, 2) }} | |||||
| {{ $colaborador->nombre_completo }} {{ $colaborador->RFC }} | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| NUM | PÓLIZA / FOLIO | Semana de Trabajo | NOMBRE CONTRATANTE | PRIMA | CONCEPTO | PORCENTAJE | TOTAL | ||
| {{ $num }} | {{ $row['poliza'] }} | {{ $row['inicio_fecha'] . ' al ' . $row['fin_fecha'] }} | {{ $row['contratante'] }} | $ {{ number_format($row['prima_comisionable'], 2) }} | {{ $row['tipo'] . ' ' . $row['recibo'] }} | {{ $row['porcentaje'] }} % | $ @if ($row['tipo_d'] == 'D') - {{ number_format($row['prima_comisionable'], 2) }} @else {{ number_format($row['prima_comisionable'] * ($row['porcentaje'] / 100), 2, '.', ',') }} @endif | ||
| {{ $num }} | $ {{ number_format($bono['venta'], 2) }} | @if ($bono['descripcion'] == 'Pago bono manual') {{ $bono['comentario'] }} @else {{ $bono['descripcion'] }} @endif | {{ $bono['porcentaje'] }} % | $ {{ number_format($bono['total']) }} | |||||
| TOTAL: | $ {{ number_format($registros->sum(function ($item) { return $item['tipo_d'] == 'D' ? -$item['prima_comisionable'] : $item['prima_comisionable'] * ($item['porcentaje'] / 100); }) + $bonosDelColaborador->sum('total'), 2) }} | ||||||||
| {{ $colaborador->nombre . ' ' . $colaborador->apellido_paterno . ' ' . $colaborador->apellido_materno }} {{ $colaborador->rfc }} | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| NUM | PÓLIZA / FOLIO | Semana de Trabajo | NOMBRE CONTRATANTE | PRIMA | CONCEPTO | PORCENTAJE | TOTAL | ||
| {{ $num }} | $ {{ number_format($row['venta'], 2) }} | @if ($row['descripcion'] == 'Pago bono manual') {{ $row['comentario'] }} @else {{ $row['descripcion'] }} @endif | {{ $row['porcentaje'] }} % | $ {{ number_format($row['total']) }} | |||||
| TOTAL: | $ {{ number_format($bonosDelAgente->sum('total'), 2) }} | ||||||||
| *Este documento no tiene ninguna validez oficial. | |||||||||
|---|---|---|---|---|---|---|---|---|---|