@php $_logoPath = public_path('img/logo1.png'); $logoSrc = file_exists($_logoPath) ? 'data:image/png;base64,' . base64_encode(file_get_contents($_logoPath)) : ''; @endphp
|
@if($logoSrc) |
Sabores de Sol by MAYBELL S.A.C.
RUC: 20612998214 | Recursos Humanos
Carretera Panamericana Norte Km 56 - CP San Isidro - Motupe - Lambayeque
PLANILLA DE PAGO — {{ strtoupper($planilla->periodo_label) }}
|
Código: {{ $planilla->codigo }} Tipo: {{ $planilla->tipo === 'permanente' ? 'Permanentes' : 'Eventuales' }} @if($planilla->fecha_inicio && $planilla->fecha_fin) {{ $planilla->fecha_inicio->format('d/m/Y') }} — {{ $planilla->fecha_fin->format('d/m/Y') }} @endif Estado: {{ ucfirst($planilla->estado) }} Empleados: {{ $planilla->items->count() }} |
| # | N° Emp. | Apellidos y Nombres | DNI | Cargo | Régimen | Días Trab. |
Días Aus. |
H.E 30% | H.E 50% | Sueldo Base | Mto H.E. | Total Bruto | AFP/ONP | Tardanza | Inasist. | Total Desc. | EsSalud | NETO |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->empleado->numero_empleado }} | {{ $item->empleado->nombre_completo }} | {{ $item->empleado->dni }} | {{ $item->empleado->cargo }} | {{ $item->empleado->regimen_pensionario }} | {{ $item->dias_trabajados }} | {{ $item->dias_ausentes > 0 ? $item->dias_ausentes : '—' }} | {{ $item->horas_extra_30 > 0 ? number_format($item->horas_extra_30,1) : '—' }} | {{ $item->horas_extra_50 > 0 ? number_format($item->horas_extra_50,1) : '—' }} | {{ number_format($item->sueldo_base, 2) }} | {{ $item->monto_horas_extra > 0 ? number_format($item->monto_horas_extra, 2) : '—' }} | {{ number_format($item->total_bruto, 2) }} | {{ number_format($item->descuento_afp_onp, 2) }} | {{ $item->descuento_tardanza > 0 ? number_format($item->descuento_tardanza, 2) : '—' }} | {{ ($item->descuento_inasistencia ?? 0) > 0 ? number_format($item->descuento_inasistencia, 2) : '—' }} | {{ number_format($item->total_descuentos, 2) }} | {{ number_format($item->aporte_essalud, 2) }} | {{ number_format($item->neto_a_pagar, 2) }} |
| TOTALES: | {{ number_format($planilla->items->sum('sueldo_base'), 2) }} | {{ number_format($planilla->items->sum('monto_horas_extra'), 2) }} | {{ number_format($planilla->total_bruto, 2) }} | {{ number_format($planilla->items->sum('descuento_afp_onp'), 2) }} | {{ number_format($planilla->items->sum('descuento_tardanza'), 2) }} | {{ number_format($planilla->items->sum('descuento_inasistencia'), 2) }} | {{ number_format($planilla->total_descuentos, 2) }} | {{ number_format($planilla->items->sum('aporte_essalud'), 2) }} | {{ number_format($planilla->total_neto, 2) }} | |||||||||
|
{{ $planilla->aprobadoRrhh->name ?? '______________________' }}
Jefe de RRHH
|
{{ $planilla->aprobadoAdm->name ?? '______________________' }}
Adm. y Finanzas
|
{{ $planilla->aprobadoGerencia->name ?? '______________________' }}
Gerencia General
|