@extends('layouts.app') @section('title','Planillas') @section('content')

Planillas de Pago

@if(session('success'))
{{ session('success') }}
@endif

Historial de Planillas

Generar Planilla
@forelse($planillas as $pl) @empty @endforelse
CódigoPeríodoTipo Total BrutoDescuentosNeto EstadoGenerado porAcciones
{{ $pl->codigo }} {{ $pl->periodo_label }} {{ ucfirst($pl->tipo) }} S/ {{ number_format($pl->total_bruto, 2) }} S/ {{ number_format($pl->total_descuentos, 2) }} S/ {{ number_format($pl->total_neto, 2) }} {{ ucfirst($pl->estado) }} {{ $pl->creadoPor->name ?? '—' }}
Sin planillas generadas.
@endsection