| Data | Placa | Motorista | Anterior | Km | Qtd |
|---|---|---|---|---|---|
| {{ Carbon\Carbon::parse($abastecimento->dataentrada)->format('d/m/Y') }} | @if(($abastecimento->placa == 0) || ($abastecimento->placa == 00)) - @elseif(($abastecimento->dashboard == 1)) {{ $abastecimento->placa }} @else {{ $abastecimento->placa }} @endif @if($abastecimento->dashboard == 1) @endif | {{ $abastecimento->nome ?? 'N/A' }} |
@if($abastecimento->km > $abastecimento->ultimokm)
{{$abastecimento->ultimokm}} km @elseif($abastecimento->dashboard == 1) {{$abastecimento->ultimokm}} km @else - @endif |
@if($abastecimento->km == 0 and $abastecimento->dashboard == 1)
-
@else
{{ $abastecimento->km }} km
@if($abastecimento->km > $abastecimento->ultimokm)
+ {{ $abastecimento->km - $abastecimento->ultimokm }} km @endif @endif |
{{ number_format($abastecimento->qtd, 1, '.', '') }} L |