@extends('layouts.app') @section('title', 'Reporte de Gastos — ' . $cliente->nombre_completo) @section('content')
Gestión de Expedientes Judiciales
Cliente: {{ $cliente->nombre_completo }}
@if($cliente->dni_ruc)DNI/RUC: {{ $cliente->dni_ruc }}
@endif @if($fechaDesde || $fechaHasta)Período: {{ $fechaDesde ? \Carbon\Carbon::parse($fechaDesde)->format('d/m/Y') : '—' }} al {{ $fechaHasta ? \Carbon\Carbon::parse($fechaHasta)->format('d/m/Y') : '—' }}
@endifGenerado el {{ now()->format('d/m/Y H:i') }}
{{ $exp->materia }} @if($exp->tipo_proceso) · {{ $exp->tipo_proceso }} @endif @if($exp->estado) {{ $exp->estado }} @endif
| Fecha | Concepto | Categoría | Registrado por | Monto |
|---|---|---|---|---|
| {{ $gas->fecha->format('d/m/Y') }} | {{ $gas->concepto }} | {{ $gas->categoria }} | {{ optional($gas->user)->name ?? 'N/A' }} | S/ {{ number_format($gas->monto, 2) }} |
| Subtotal Expediente: | S/ {{ number_format($exp->gastos->sum('monto'), 2) }} | |||
| Fecha | Concepto | Categoría | Registrado por | Monto |
|---|---|---|---|---|
| {{ $gas->fecha->format('d/m/Y') }} | {{ $gas->concepto }} | {{ $gas->categoria }} | {{ optional($gas->user)->name ?? 'N/A' }} | S/ {{ number_format($gas->monto, 2) }} |
No se encontraron gastos para este cliente en el período seleccionado.