@php $statuses = ['PENDING' => 'Pendiente', 'PAID' => 'Pagado', 'CANCELED' => 'Cancelado']; @endphp
{{-- re-usable carts components --}} {{-- your existing table / filters --}}

Cuentas por pagar

Elige el tipo de reporte
@if ($reportType === '1')
Fechas desde
Fechas hasta
@endif
@foreach ($budgets as $budget) @endforeach
CLIENTE TOTAL PAGADO CAMBIO ESTADO PRODUCTOS FECHA ACCIONES
{{ $budget->client->name }}
${{ number_format($budget->total, 2) }}
${{ number_format($budget->total_paid_usd, 2) }}
${{ number_format($budget->total_change_usd, 2) }}
{{ $statuses[$budget->status] }}
{{ $budget->getTotalProducts() }}
{{ $budget->updated_at->format('d-m-Y') }}
{{ $budgets->links() }}