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

{{ __('texte.areas_arr.show.show_area') }}

{{__('texte.areas_arr.show.name')}}: {{ $area->name }}
{{__('texte.areas_arr.show.active')}}: {{ App\Model::ACTIVE[$area->active] }}
{{__('texte.areas_arr.show.country') }}: {{ $area->country->name }}
{{ __('texte.areas_arr.show.locations') }}: @foreach ($area->locations as $location) {{ $location->name }} @endforeach
{{ __('texte.areas_arr.show.contragents') }}: @foreach ($area->contragents as $contragent) {{ $contragent->company_name ?? $contragent->user->name }} @endforeach
{{ __('texte.areas_arr.show.objects') }}: @foreach ($area->objects as $object) {{ $object->user->name }} @endforeach
{{ __('texte.areas_arr.show.storages') }}: @foreach ($area->storages as $storage) {{ $storage->name }} @endforeach
@endsection