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

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

@if($client->expedited != 1 && $client->accepted != 1) @endif

{{__("Cluster")}}:

{{$client->cluster}}

{{__("Street")}}:

{{$client->street}}

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

{{$client->home_no}}

{{__("Entrance")}}:

{{$client->entrance}}

{{__("Floor")}}:

{{$client->floor}}

{{__("Flat")}}:

{{$client->apartment}}

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

{{$client->alt_id}}

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

{{$client->tel1}}

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

{{$client->tel2}}

{{__("Postal code")}}:

{{$client->postal_code}}

{{__("City")}}:

{{$client->city}}

{{__("Email")}}:

{{$client->email}}

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

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

{{__("Address")}}:

{{$client->address}}

{{__('Phones')}}:

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

{{__("Consumption data")}}:

{{$client->consumption_data}}

{{__("Expected annual production")}}:

{{$client->expected_annual_production}}

{{__("Agreed price")}}:

@if($client->agreed_price !== null) {{number_format($client->agreed_price, 2, ',', '.')}} EUR @endif

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

{{$client->offer_number}}

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

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

{{__("Seller")}}:

@if($client->seller_name){{$client->seller_name.' '.$client->seller_surname}}@endif

{{__("Status")}}:

@if($client->status){{__($client->status)}}@endif

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

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

{{__("Cadastral parcel")}}:

{{$client->cadastral_parcel}}

{{__("Cadastral municipality")}}:

{{$client->cadastral_municipality}}

{{__("OIB")}}:

{{$client->oib}}

{{__("Power plant capacity")}}:

{{$client->power_plant_capacity}}

{{__("Leased power")}}:

{{$client->leased_power}}

{{__("OMM meter number - metering point code")}}:

{{$client->oom}}

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

@if($client->roof_type_name){{__($client->roof_type_name)}}@endif

{{__("Roof covering")}}:

@if($client->roof_covering_name){{__($client->roof_covering_name)}}@endif

{{__("Object")}}:

@if($client->object_name){{__($client->object_name)}}@endif

{{__("Miscellaneous: additional comments, questions and similar")}}:

{{$client->miscellaneous}}


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

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

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

{{__("Comments")}}

@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 @endsection