@extends('layouts.app') @section('content')
{{__('texte.objects_arr.show.client')}}: {{ $object->client->name }}
{{__('texte.objects_arr.show.object_name')}}: {{ $object->name}}
@if($object->user_id!=0)
{{__('texte.objects_arr.show.user')}}: {{ $object->user->name}}
{{__('texte.objects_arr.show.email')}}: {{ $object->email }}
@endif
{{__('texte.objects_arr.show.contact_person')}}: {{ $object->pic }}
{{__('texte.objects_arr.show.country')}}: {{ $object->location->area->country->name }}
{{__('texte.objects_arr.show.area')}}: {{ $object->location->area->name }}
{{__('texte.objects_arr.show.location')}}: {{ $object->location->name }}
{{__('texte.objects_arr.show.delivery_address')}}: {{ $object->address }}
{{__('texte.objects_arr.show.cellphone')}}: {{ $object->mobile }}
{{__('texte.objects_arr.show.phone')}}: {{ $object->phone }}
{{__('texte.objects_arr.show.note')}}: {{ $object->note }}
{{__('texte.objects_arr.show.type')}}: {{ $object->subtype->type->name }}
{{__('texte.objects_arr.show.subtype')}}: {{ $object->subtype->name }}
{{__('texte.objects_arr.show.active')}}: {{ $object->active==1 ? __('texte.objects_arr.show.yes') : __('texte.objects_arr.show.no')}}
@foreach($filters as $filter) @if(isset($object->filters[$filter->name]))
{{ $filter->title }}: @if ($filter->type == 0) {{ $object->filters[$filter->name] ?? '' }} @else @foreach ($filter->options as $option) @if($filter->type==2) {{ isset($object->filters[$filter->name]) && in_array($option->id, $object->filters[$filter->name]) ? $option->title.', ' : ""}} @else {{ isset($object->filters[$filter->name]) && $option->id==$object->filters[$filter->name] ? $option->title : ""}} @endif @endforeach @endif
@endif @endforeach
@foreach ($object->images as $image)
{{$image->title}}
@endforeach
@endsection