@extends('layouts.app') @section('content')
@csrf

{{__("Edit construction site data")}}

@if($superAdminOnly)
@endif
{{__("Change")}} {{__("Choose file")}} {{__("Remove")}}
@if($isSuperAdmin)
@endif
{{__("Change")}} {{__("Choose file")}} {{__("Remove")}}
{{----}} {{----}} @if(!$comments->isEmpty())

{{__("Comments")}}

@foreach($comments as $br=>$comment) {{__("Comment")}} {{$br+1}}

{{$comment->comment}}

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

{{__("Images")}}

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

{{__("Files")}}

@foreach($files as $file) @endforeach
@endif @if(!$equipment->isEmpty())

{{__("Equipment")}}

@if($isSuperAdmin) @endif @foreach($equipment as $equip) @if ($superAdminOnly) @else @endif @if($isSuperAdmin) @endif @endforeach
{{__("Code")}} {{__("Equipment")}} {{__("Quantity")}} {{__("Price")}} {{__("Total")}}
{{$equip->code}} {{$equip->equipment}} {{$equip->quantity}}{{number_format($equip->price, 2, ',', '.')}} {{number_format($equip->sum, 2, ',', '.')}}/ /
@endif @if(!$works->isEmpty())

{{__("Works")}}

@if($isSuperAdmin) @endif @foreach($works as $work) @if ($superAdminOnly) @else @endif @if($isSuperAdmin) @endif @endforeach
{{__("Code")}} {{__("Works")}} {{__("Quantity")}} {{__("Unit")}} {{__("Price")}} {{__("Total")}}
{{$work->code}} {{$work->work}} {{$work->quantity}} {{$work->unit_short}}{{number_format($work->price, 2, ',', '.')}} {{number_format($work->sum, 2, ',', '.')}}/ /
@endif @endsection