@extends('partials.layout') @section('content')
| ID | Fecha | Usuario | Concepto | Observación | Turno | Tipo combustible | Galones | Precio | Total | Estado | Acciones |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->id }} | {{ optional($item->created_at)->format('Y-m-d H:i') }} | {{ $item->usuario?->usuario ?? $item->usuario?->name ?? $item->usuario?->email }} | {{ $item->concepto?->nombre ?? '-' }} | {{ $item->observacion }} | {{ $item->turno->turnos ?? '-' }} | {{ $item->tipoCombustible->nombre ?? '-' }} | {{ number_format((float)$item->cantidad_galones, 3) }} | {{ number_format((float)$item->precio, 2) }} | {{ number_format((float)$item->total, 2) }} | @if((int)$item->estado === 1) Activo @else Inactivo @endif |
Editar
@if(strtoupper((string) auth()->user()?->rol) === 'ADMIN')
@endif
|
| Sin registros | |||||||||||
| Total | {{ number_format($totalDiferencias, 2) }} | ||||||||||