@extends('layouts.app') @section('content') {{__("Inventory")}} {{$user->ime.' '.$user->prezime}} @csrf {{__('Type')}} -- {{__("Type")}} -- @foreach($toolTypes as $type) {{$type->type}} @endforeach {{__("Tools")}} -- {{__("Tools")}} -- {{__("Warehouse")}} @foreach($storages as $storage) {{$storage->naziv}} @endforeach {{__('Quantity')}} @if(!$tools->isEmpty()) {{__("Tools")}} {{__('Type')}} {{__('Tools')}} {{__('Provider')}} {{__('Invoice number')}} {{__('Origin')}} {{__('Quantity')}} @foreach($tools as $tool) {{$tool->type}} {{$tool->tool}} {{$tool->provider}} {{$tool->invoice_number}} {{$tool->origin}} {{$tool->quantity}} @endforeach @endif @endsection