{{-- @extends('layouts.app') @section('content') --}} {{-- --}} @php $familyPage = request()->segment(1); //returns 'families from url' $familyPageFound = ($familyPage == "currentfamilies"); if ($familyPageFound) { // $indexPage = route('currentfamilies.index'); $indexPage = url('/currentfamilies'); $titlePage = __('families.show.show'); }; $oldfamilyPage = request()->segment(1); //returns 'oldfamilies from url' $oldfamilyPageFound = ($oldfamilyPage == "oldfamilies"); if ($oldfamilyPageFound) { $familyPageFound = false; $indexPage = url('/oldfamilies'); $titlePage = __('families.show.oldshow'); }; // dd($indexPage); @endphp {{-- Edit Family Form - Membership --}} {{$titlePage}} {{-- --}} @include('components/mainstyle')
@if(session('status'))
{{ session('status') }}
@endif {{-- @if ($familyPageFound)
@endif --}} @if ($familyPageFound) id]) }}" method="POST" enctype="multipart/form-data"> @endif @if ($oldfamilyPageFound) id]) }}" method="POST" enctype="multipart/form-data"> @endif @csrf @method('PUT')
{{--

{{__('families.edit.edit')}}

--}}

{{$titlePage}}

{{-- {{__('families.back')}} --}} {{-- gewijzigd op 18-11-2024 --}} {{__('families.back')}}

{{--
--}} {{-- @include('components/members-logo', ['logotype' => 'small']) --}}
@if ($oldfamilyPageFound)
@include('families.fields', ['fieldName' => 'date_old_family','layoutType' => 'readonly', 'value' => $family->date_old_family])
@endif @include('families.fields', ['fieldName' => 'id','layoutType' => 'readonly', 'value' => $family->id]) @include('families.fields', ['fieldName' => 'updated_at','layoutType' => 'readonly', 'value' => $family->updated_at]) @include('families.fields', ['fieldName' => 'familyname','layoutType' => 'readonly', 'value' => $family->familyname]) @include('families.fields', ['fieldName' => 'preposition','layoutType' => 'readonly', 'value' => $family->preposition]) @include('families.fields', ['fieldName' => 'prefix','layoutType' => 'readonly', 'value' => $family->prefix]) @include('families.fields', ['fieldName' => 'initials','layoutType' => 'readonly', 'value' => $family->initials]) @include('families.fields', ['fieldName' => 'address','layoutType' => 'readonly', 'value' => $family->address]) @include('families.fields', ['fieldName' => 'house_number','layoutType' => 'readonly', 'value' => $family->house_number]) @include('families.fields', ['fieldName' => 'postal_code','layoutType' => 'readonly', 'value' => $family->postal_code]) @include('families.fields', ['fieldName' => 'residence','layoutType' => 'readonly', 'value' => $family->residence]) @include('families.fields', ['fieldName' => 'country','layoutType' => 'readonly', 'value' => $family->country]) @include('families.fields', ['fieldName' => 'phone_number','layoutType' => 'readonly', 'value' => $family->phone_number]) @include('families.fields', ['fieldName' => 'neighbourhood','layoutType' => 'readonly', 'value' => $family->neighbourhood]) @include('families.fields', ['fieldName' => 'magazine_send_by_post','layoutType' => 'checkbox_readonly', 'value' => $family->magazine_send_by_post]) @include('families.fields', ['fieldName' => 'notes','layoutType' => 'textarea_readonly', 'value' => $family->notes]) @include('families.fields', ['fieldName' => 'publish_on_list','layoutType' => 'checkbox_readonly', 'value' => $family->publish_on_list])
{{-- --}}
{{-- @endsection --}}