@extends ('domains.maintenance-item.update-layout') @section ('content')
@foreach ($maintenancesPivot as $each) @php ($link = route('maintenance.update.item', $each->maintenance->id)) @endforeach
{{ __('maintenance-item-update-maintenance.vehicle') }} {{ __('maintenance-item-update-maintenance.mainteance') }} {{ __('maintenance-item-update-maintenance.workshop') }} {{ __('maintenance-item-update-maintenance.date_at') }} {{ __('maintenance-item-update-maintenance.quantity') }} {{ __('maintenance-item-update-maintenance.amount_gross') }} {{ __('maintenance-item-update-maintenance.amount_net') }} {{ __('maintenance-item-update-maintenance.tax_percent') }} {{ __('maintenance-item-update-maintenance.subtotal') }} {{ __('maintenance-item-update-maintenance.tax_amount') }} {{ __('maintenance-item-update-maintenance.total') }}
{{ $each->maintenance->vehicle->name }} {{ $each->maintenance->name }} {{ $each->maintenance->workshop }} @dateLocal($each->maintenance->date_at) @number($each->quantity, 2) @unitHumanRaw('money', $each->amount_gross, 2) @unitHumanRaw('money', $each->amount_net, 2) @number($each->tax_percent, 2) @unitHumanRaw('money', $each->subtotal, 2) @unitHumanRaw('money', $each->tax_amount, 2) @unitHumanRaw('money', $each->total, 2)
{{ $total['quantity'] }} @unitHumanRaw('money', $total['amount_gross']) @unitHumanRaw('money', $total['amount_net']) @unitHumanRaw('money', $total['subtotal']) @unitHumanRaw('money', $total['tax_amount']) @unitHumanRaw('money', $total['total'])
@stop