@extends('layouts.app') @section('content')
{{ csrf_field() }}

{{__("Data update")}}

@if($isAdmin)
invoice_date_40) checked @endif/>
invoice_date_50) checked @endif/>
invoice_date_total) checked @endif/>
@endif
@if(!$mounted->isEmpty()) @foreach($mounted as $mont) @if($isAdmin) @endif @endforeach
{{'('.strtoupper($mont->uredjaj).') '.$mont->serijski_broj}}
@endif
@if(!$equipment->isEmpty()) @foreach($equipment as $equip) @if($isAdmin) @endif @endforeach
@if($equip->code) ({{$equip->code}}) @endif{{$equip->naziv.' ( '.__("quantity").': '.$equip->kol.')'}}
@endif
@if(!$returned->isEmpty()) @foreach($returned as $vr) @endforeach
{{'('.$vr->uredjaj.') '.$vr->serijski_broj}}
@endif
{{__("Change")}} {{__("Choose file")}} {{__("Remove")}}
{{__("Change")}} {{__("Choose file")}} {{__("Remove")}}
@if($isAdmin)
@endif
@if(!$spentMaterial->isEmpty())

{{__('Material')}}

@if($isSuperAdmin) @endif @foreach($spentMaterial as $mat) @if($isSuperAdmin) @endif @endforeach
{{__('Code')}} {{__('Material')}} {{__('Quantity')}}
{{$mat->code}} {{$mat->material}} {{$mat->quantity}}
@endif @if(!$comments->isEmpty())

{{__("Comments")}}

@foreach($comments as $br=>$com) {{__("Comment")}} {{$br+1}}
admins_only == 0) class="success" @else class="danger" @endif>

{{$com->comment}}

{{$com->ime.' '.$com->prezime}} {{date('d.m.Y. H:i:s', strtotime($com->created_at))}} @if($isSuperAdmin) @endif
@endforeach
@endif @if(!empty($images[0]))

{{__("Images")}}

@foreach($images as $img) @endforeach
@endif @if(!$files->isEmpty())

{{__("Files")}}

@foreach($files as $file) @endforeach
@endif @if($isAdmin) @if(!empty($imagesAdmin[0]))

{{__("Images")}} {{__("Admins")}}

@foreach($imagesAdmin as $img) @endforeach
@endif @if(!$filesAdmin->isEmpty())

{{__("Files")}} {{__("Admins")}}

@foreach($filesAdmin as $file) @endforeach
@endif @endif @endsection