@if($gastos->count() > 0)
| ID | Valor | Caja | Tipo | Usuario | Fecha | ID cierre | Acciones |
|---|---|---|---|---|---|---|---|
| #{{$gasto->id}} | $ {{number_format($gasto->valor)}} | {{$gasto->caja->nombre}} | {{$gasto->tipo->titulo}} |
{{$gasto->user->name}} |
{{date_format(date_create($gasto->created_at),'d/m/Y h:i A')}} | @if($gasto->id_cierre != null) #{{$gasto->id_cierre}} @else N/A @endif |
{{$gastos->appends(['search' => $search])->links()}}