@extends ('layouts.in') @section ('body')
@if ($users_multiple)
@endif
@if ($user_empty) @endif @if ($vehicle_empty) @endif @foreach ($list as $row) @php ($link = route('maintenance.update', $row->id)) @if ($user_empty) @endif @if ($vehicle_empty) @endif @endforeach @if ($total) @endif
{{ __('maintenance-index.user') }}{{ __('maintenance-index.vehicle') }}{{ __('maintenance-index.name') }} {{ __('maintenance-index.workshop') }} {{ __('maintenance-index.date_at') }} {{ __('maintenance-index.distance') }} {{ __('maintenance-index.distance_next') }} {{ __('maintenance-index.amount') }}
{{ $row->user->name }}{{ $row->vehicle->name }}{{ $row->name }} {{ $row->workshop }} @dateLocal($row->date_at) @unitHumanRaw('distance', $row->distance, 0) @unitHumanRaw('distance', $row->distance_next, 0) @unitHumanRaw('money', $row->amount, 2) @icon('shopping-bag', 'w-4 h-4')
@unitHumanRaw('money', $total)
@stop