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

{{$site->name}}    (ID: {{$site->id}})

@if(session('search_route')) @endif

{{__('Client')}}:

{{$site->name}}

{{__('Seller')}}:

{{$site->seller}}

{{__('Seller contact')}}:

{{$site->contact_seller}}

{{__("Phones")}}:

@if($site->tel1) {!! nl2br('Fiksni: '.$site->tel1." \n")!!} @endif @if($site->tel2) {!! 'Mob: '.nl2br($site->tel2." \n") !!} @endif @if($site->tel3) {!! 'Mob2: '.nl2br($site->tel3) !!} @endif

{{__('Manager')}}:

{{$site->manager}}

{{__("Phones")}} ({{__('Manager')}}):

@if($site->m_tel1) {!! nl2br('Fiksni: '.$site->m_tel1." \n")!!} @endif @if($site->m_tel2) {!! 'Mob: '.nl2br($site->m_tel2." \n") !!} @endif @if($site->m_tel3) {!! 'Mob2: '.nl2br($site->m_tel3) !!} @endif

{{__("State")}}:

{{$site->state}}

{{__("City")}}:

{{$site->city}}

{{__('Municipality')}}:

{{$site->municipality}}

{{__('Address')}}:

{{$site->address}}

{{__('Number of floors')}}:

{{$site->number_of_floors}}

{{__('Number of flats')}}:

{{$site->number_of_flats}}

{{__("Area")}}:

{{$site->area}}

{{__('Status access')}}:

{{$site->status_access}}

{{__('Status vertical')}}:

{{$site->status_vertical}}

{{__('Status splicing')}}:

{{$site->status_splicing}}

{{__('Final status')}}:

{{$site->final_status}}

{{__('Project manager')}}:

{{$site->project_manager_name.' '.$site->project_manager_surname}}

{{__('Construction manager')}}:

{{$site->construction_manager_name.' '.$site->construction_manager_surname}}

{{__('Worker (access)')}}:

{{$site->access_name.' '.$site->access_surname}}

{{__('Worker (vertical)')}}:

{{$site->vertical_name.' '.$site->vertical_surname}}

{{__('Worker (splicing)')}}:

{{$site->splicing_name.' '.$site->splicing_surname}}

{{__('Appointment date (access)')}}:

@if($site->appointment_date_access){{date('d.m.Y. H:i', strtotime($site->appointment_date_access))}} @endif

{{__('Appointment date (vertical)')}}:

@if($site->appointment_date_vertical){{date('d.m.Y. H:i', strtotime($site->appointment_date_vertical))}} @endif

{{__('Appointment date (splicing)')}}:

@if($site->appointment_date_splicing){{date('d.m.Y. H:i', strtotime($site->appointment_date_splicing))}} @endif

{{__('Delay date')}}:

@if($site->delay_date){{date('d.m.Y. H:i', strtotime($site->delay_date))}} @endif

{{__('Realization date (access)')}}:

@if($site->realization_date_access){{date('d.m.Y.', strtotime($site->realization_date_access))}} @endif

{{__('Realization date (vertical)')}}:

@if($site->realization_date_vertical){{date('d.m.Y.', strtotime($site->realization_date_vertical))}} @endif

{{__('Realization date').'('.__('splicing').')'}}:

@if($site->realization_date_splicing){{date('d.m.Y.', strtotime($site->realization_date_splicing))}} @endif

{{__('Withdrawal date')}}:

@if($site->withdrawal_date){{date('d.m.Y.', strtotime($site->withdrawal_date))}} @endif

{{__('Correction date start')}}:

@if($site->correction_date_start){{date('d.m.Y.', strtotime($site->correction_date_start))}} @endif

{{__('Correction date end')}}:

@if($site->correction_date_end){{date('d.m.Y.', strtotime($site->correction_date_end))}} @endif

{{(__('Cluster'))}}:

{{$site->cluster}}

Odo:

{{$site->odo}}

Izvod:

{{$site->izvod}}

{{(__('Connector'))}}:

{{$site->connector}}

{{__('Technical solution date')}}:

@if($site->technical_solution_date){{date('d.m.Y.', strtotime($site->technical_solution_date))}} @endif

ATC/MSAN/OLT:

{{$site->atc_msan_olt}}

ODF/Modul:

{{$site->odf_modul}}

{{__('Connector number')}}:

{{$site->connector_number}}

{{__('Connection point')}}:

{{$site->connection_point}}

{{__('Fiber')}}:

{{$site->fiber}}

{{(__('Numeration odo'))}}:

{{$site->numeration_odo}}

{{__('DIS start date')}}:

@if($site->dis_start_date){{date('d.m.Y.', strtotime($site->dis_start_date))}} @endif

{{__('DIS end date')}}:

@if($site->dis_end_date){{date('d.m.Y.', strtotime($site->dis_end_date))}} @endif

{{__('TIS entry date')}}:

@if($site->tis_entry_date){{date('d.m.Y.', strtotime($site->tis_entry_date))}} @endif

{{__('Set DIS')}}:

{{$site->set_dis}}

{{__('Created at')}}:

@if($site->created_at){{date('d.m.Y. H:i:s', strtotime($site->created_at))}} @endif

@if($isSuperAdmin)

{{__('Sent BoQ')}}:

{{$site->sent_boq}}

{{__('Approved BoQ')}}:

{{$site->approved_boq}}

{{__('BoQ send date')}}:

@if($site->boq_send_date){{date('d.m.Y.', strtotime($site->boq_send_date))}} @endif

{{__('BoQ date of approval')}}:

@if($site->boq_approve_date){{date('d.m.Y.', strtotime($site->boq_approve_date))}} @endif

{{__('Price')}}:

{{$site->price}}

{{__('Company')}}:

{{$site->company}}

{{__('Amount').' '.__('Construction')}}:

{{$totalAccess}}

{{__('Amount').' '.__('Splicing')}}:

{{$totalVertical}}

{{__('Amount').' '.__('Documentation')}}:

{{$totalDoc}}

@endif @if(count($history) >= 1)
@endif
@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))}}
@endforeach
@endif @if(!$images->isEmpty())

{{(__('Images'))}}

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

{{(__('Files'))}}

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

{{(__('Equipment requirement'))}}

@foreach($requiredEquipment as $requip) @endforeach
{{(__('Code'))}} {{(__('Equipment'))}} {{(__('Quantity'))}} {{(__('Requires'))}}
{{$requip->code}} {{$requip->equipment}} {{$requip->quantity}} {{$requip->name.' '.$requip->surname}}
@endif @if(!$equipment->isEmpty())

{{(__('Equipment'))}}

@foreach($equipment as $equip) @endforeach
{{(__('Code'))}} {{(__('Equipment'))}} {{(__('Quantity'))}} {{(__('Comments'))}}
{{$equip->code}} {{$equip->equipment}} {{$equip->quantity}} /
{{(__('Total'))}}:
@endif @if(!$works->isEmpty())

{{(__('Works'))}} ({{__('Construction')}})

@foreach($works as $work) @endforeach
{{(__('Code'))}} {{(__('Works'))}} {{(__('Unit'))}} {{(__('Quantity'))}}
{{$work->code}} {{$work->work}} {{$work->unit_short}} {{$work->quantity}}
@endif @if(!$verticalWorks->isEmpty())

{{(__('Works'))}} ({{__('Splicing')}})

@foreach($verticalWorks as $work) @endforeach
{{(__('Code'))}} {{(__('Works'))}} {{(__('Unit'))}} {{(__('Quantity'))}}
{{$work->code}} {{$work->work}} {{$work->unit_short}} {{$work->quantity}}
@endif @if(!$docWorks->isEmpty())

{{(__('Works'))}} ({{__('Documentation')}})

@foreach($docWorks as $work) @endforeach
{{(__('Code'))}} {{(__('Works'))}} {{(__('Unit'))}} {{(__('Quantity'))}}
{{$work->code}} {{$work->work}} {{$work->unit_short}} {{$work->quantity}}
@endif @endsection