@extends('layouts.app') @section('link') @endsection @section('style') @endsection @section('content')

{{__('texte.objects_arr.show.show_object')}}

{{__('texte.objects_arr.show.object_name')}}: {{ $object->user->name }}
{{__('texte.objects_arr.show.email')}}: {{ $object->user->email }}
{{__('texte.objects_arr.show.contact_person')}}: {{ $object->contact_person }}
{{__('texte.objects_arr.show.representative')}}: {{ optional($object->spokesman)->name }}
{{__('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->delivery_address }}
{{__('texte.objects_arr.show.longitude')}}: {{ $object->gps_lng }}
{{__('texte.objects_arr.show.latitude')}}: {{ $object->gps_lat }}
{{__('texte.objects_arr.show.cellphone')}}: {{ $object->user->mobile }}
{{__('texte.objects_arr.show.phone')}}: {{ $object->user->phone }}
{{__('texte.objects_arr.show.fax')}}: {{ $object->user->fax }}
{{__('texte.objects_arr.show.note')}}: {{ $object->user->note }}
{{__('texte.objects_arr.show.region')}}: {{ $object->subregion->region->name }}
{{__('texte.objects_arr.show.subregion')}}: {{ $object->subregion->name }}
{{__('texte.objects_arr.show.type')}}: {{ $object->subtype->type->name }}
{{__('texte.objects_arr.show.subtype')}}: {{ $object->subtype->name }}
{{__('texte.objects_arr.show.email_notification')}}: {{ App\Model::ACTIVE[$object->notify_email] }}
{{__('texte.objects_arr.show.sms_notification')}}: {{ App\Model::ACTIVE[$object->notify_sms] }}
{{__('texte.objects_arr.show.min_order_amount')}}: {{ App\Model::ACTIVE[$object->min_order_amount] }}
{{__('texte.objects_arr.show.transport_amount')}}: {{ App\Model::ACTIVE[$object->transport_amount] }}
{{__('texte.objects_arr.show.sms_notification')}}: {{ App\Model::ACTIVE[$object->notify_sms] }}
{{__('texte.objects_arr.show.payment_output')}}: {{ $object->payment_from==0 ? __('texte.objects_arr.show.contragent_lvl') : __('texte.objects_arr.show.object_lvl') }}
{{__('texte.objects_arr.show.payment_type')}}: {{ App\Contragent::PAYMENT_TYPE[$object->payment_type]['title'] }}
{{__('texte.objects_arr.show.add_wrappage')}}: {{ App\Model::ACTIVE[$object->plus_wrappage] }}
{{__('texte.objects_arr.show.limit_amount')}}: {{ $object->limit }}
{{__('texte.objects_arr.show.payment_time')}}: {{ App\Contragent::TIME_OF_PAYMENT[$object->time_of_payment]['title'] }}
{{__('texte.objects_arr.show.delayed_days')}}: {{ $object->delayed_days }}
{{__('texte.objects_arr.show.expired_days')}}: {{ $object->expired_days }}
{{__('texte.objects_arr.show.batch_not_older')}}: {{ $object->partida_not_older }}
{{__('texte.objects_arr.show.export_for_producers')}}: {{ App\Model::ACTIVE[$object->export_for_producers] }}
{{__('texte.objects_arr.show.documents')}}: @foreach ($object->documents as $document) {{ $document->type->title }} # {{ $document->number }} @endforeach
{{__('texte.objects_arr.show.active')}}: {{ App\Model::ACTIVE[$object->active] }}
@foreach ($object->images as $image)
{{$image->title}}
@endforeach @if(count($object->notes)>0)
{{__('texte.objects_arr.show.notes')}}: @foreach ($object->notes as $note) @endforeach
{{strtoupper(__('texte.objects_arr.show.id'))}} {{__('texte.objects_arr.show.user')}} {{__('texte.objects_arr.show.note')}} {{__('texte.objects_arr.show.important')}} {{__('texte.objects_arr.show.new')}} {{__('texte.objects_arr.show.created_at')}} {{__('texte.objects_arr.show.delete')}}
{{$note->id}} {{$note->user->name}} {{$note->note}} {{$note->important==1 ? __('texte.objects_arr.show.yes') : __('texte.objects_arr.show.no')}} {{$note->read==0 ? __('texte.objects_arr.show.yes') : __('texte.objects_arr.show.no')}} {{date("d.m.Y H:i",strtotime($note->created_at))}}
@endif
@endsection