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

{{$client->cluster.' '.$client->street}}

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

{{__("Cluster")}}:

{{$client->cluster}}

{{__("Street")}}:

{{$client->street}}

{{__("PAN")}}:

{{$client->pan}}

{{__("Home number")}}:

{{$client->home_no}}

{{__("Entrance")}}:

{{$client->enterance}}

{{__("Floor")}}:

{{$client->floor}}

{{__("Flat")}}:

{{$client->apartment}}

{{__("Statement type")}}

{{$client->eta}}

ID:

{{$client->fobos_id}}

{{__("Network group")}}:

{{$client->network_group}}

{{__("Packet")}}:

{{$client->packet}}

BL:

@if($client->black_list==1){{__("YES")}}@else{{__("NO")}}@endif

{{__("Landline phone")}}:

{{$client->tel1}}

{{__("Tel")}}: 2

{{$client->tel2}}

{{__("Tel")}} 3

{{$client->tel3}}

{{__("County")}}:

{{$client->county}}

{{__("City")}}:

{{$client->city}}

{{__("Settlement")}}:

{{$client->settlement}}

{{__("Household")}}:

{{$client->household}}

{{__("Households")}}:

{{$client->households}}

{{__("State")}}:

{{$client->state}}

{{__("State services")}}:

{{$client->state_services}}

{{__("State")}}:

{{$client->state}}

{{__("Recommended tariff")}}:

{{$client->recomended_tariff}}

{{__("First offer")}}:

{{$client->first_offer}}

{{__("Operator")}}:

{{$client->operator}}

{{__("Month")}}:

{{$client->month}}

{{__("Year")}}:

{{$client->year}}

{{__("Email")}}:

{{$client->email}}

{{__("Status")}}:

{{$client->status}}

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

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

{{__("Withdrawal reason")}}:

{{$client->withdrawal_reason}}

{{__("Contract expiration")}}:

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

{{__("Points")}}:

{{$client->points}}

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

{{$client->pm_name.' '.$client->pm_surname}}

{{__("Cable")}}:

{{$client->cable}}

{{__("Thread")}}:

{{$client->thread}}

{{__("Tube")}}:

{{$client->tube}}

{{__("Case")}}:

{{$client->case}}

{{__("X-coordinate")}}:

{{$client->x_coordinate}}

{{__("Y-coordinate")}}:

{{$client->y_coordinate}}

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

{{$client->cm_name.' '.$client->cm_surname}}

{{__("Full name")}}:

{{$client->name.' '.$client->surname}}

{{__("Request created by")}}:

{{$client->claim_created_by}}

{{__("Team Leader")}}:

{{$client->team_leader_name.' '.$client->team_leader_surname}}

{{__("Address")}}:

{{$client->address}}

{{__('Phones')}}:

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

{{__("Request")}}:

{{$client->claim}}

{{__("Seller")}}:

{{$client->seller_name.' '.$client->seller_surname}}

{{__("Request date")}}:

@if($client->claim_date){{date('d.m.Y.', strtotime($klijent->claim_date))}}@endif

{{__("Points")}}:

{{$client->points}}

{{__("Montage date")}}:

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

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

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

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

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

{{__("Assigned to fitter")}}:

{{$client->fitter_name.' '.$client->fitter_surname}}

{{__("Appointment date")}}:

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

{{__("Withdrawal reason")}}:

{{$client->withdrawal_reason}}

{{__("Intervention status")}}

{{$client->intervention_status}}

{{__("Intervention date")}}:

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

{{__("Reclamation fitter")}}:

{{$client->reclamation_name.' '.$client->reclamation_surname}}

{{__("Reclamation date")}}:

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

{{__("Montage type")}}:

{{$client->tip}}

{{__("Devices")}} @foreach($montirani as $mont)

{{'('.strtoupper($mont->uredjaj).') '.$mont->serijski_broj}}
@endforeach

{{__("Equipment")}} @foreach($equipment as $equip)

{{$equip->naziv.' ('.__("quantity").': '.$equip->kol.') ('.date('d.m.Y. H:i:s', strtotime($equip->created_at)).')'}}
@endforeach

{{__("Returned")}} @foreach($vraceni as $vr)

{{'('.strtoupper($vr->uredjaj).') '.$vr->serijski_broj.' ('.date('d.m.Y. H:i:s', strtotime($vr->created_at)).') - '.$vr->razlog}}
@endforeach

{{__('Origin')}}:

{{$client->origin}}

{{__("Helper")}}:

{{$client->helper_name.' '.$client->helper_surname}}

{{__("Terrain")}}:

@if($client->on_terrain == 1) DA @else NE @endif

{{__('Area')}}:

{{$client->area}}

{{__('Provider')}}:

{{$client->provider}}

{{__('Extra STB')}}:

{{$client->extra_stb}}

{{__('Confirmed in RUNE APP').' '.__('Date')}}:

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

{{__('Drawn into QGIS').' '.__('Date')}}:

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

{{__('Additional work')}}:

@if($client->additional_work == 1) {{__('YES')}} @else {{__('NO')}} @endif

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

{{$client->additional_splicing}}

{{__('Client contacted')}}:

@if($client->contacted == 1) {{__('YES')}} @else {{__('NO')}} @endif

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

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

{{__("Last change")}} {{$client->edited_name.' '.$client->edited_surname.' ('.date('d.m.Y. H:i:s', strtotime($client->updated_at)).')'}}

@if(count($history) > 1)
@endif
@if(!$spentMaterial->isEmpty())

{{__('Material')}}

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

{{__("Notes")}}

@foreach($comments as $br=>$com) {{__("Note")}} {{$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))}}
@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 @if($isAdmin && $client->report_id)

{{__("Supervisor report for")}} {{$client->name.' '.$client->surname}} (ocene)

{{__("Facility entrance")}}:

{{$client->facility_enterance}}

{{__("Internal cabling")}}:

{{$client->internal_cabling}}

{{__("Signal level")}}:

{{$client->signal_level}}

{{__("Coupling condition")}}:

{{$client->coupling_condition}}

{{__("Fitter behavior")}}:

{{$client->behavior}}

{{__("Customer satisfaction")}}:

{{$client->customer_satisfaction}}

{{__("Created by")}} {{$client->created_name.' '.$client->created_surname.' ('.date('d.m.Y. H:i:s', strtotime($client->report_created_at)).')'}}

{{__("Last change")}} {{$client->edited_name.' '.$client->edited_surname.' ('.date('d.m.Y. H:i:s', strtotime($client->report_updated_at)).')'}}

@if(!$supervisorComments->isEmpty())

{{__("Supervisor comments")}}

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

{{$comment->comment}}

{{$comment->name.' '.$comment->surname}} {{date('d.m.Y. H:i:s', strtotime($comment->created_at))}}
@endforeach
@endif @endif @endsection