@extends('layouts.master') @section('title') {{trans_choice('general.member',1)}} {{trans_choice('general.detail',2)}} @endsection @section('content')
@if(!empty($member->photo)) user image @else user image @endif {{$member->first_name}} {{$member->middle_name}} {{$member->last_name}}
{{trans_choice('general.edit',1)}}
{{\Illuminate\Support\Carbon::now()->diffInYears(\Illuminate\Support\Carbon::parse($member->dob))}} {{trans_choice('general.year',2)}}
  • {{trans_choice('general.gender',1)}}: @if($member->gender=="male") {{trans_choice('general.male',1)}} @endif @if($member->gender=="female") {{trans_choice('general.female',1)}} @endif @if($member->gender=="unknown") {{trans_choice('general.unknown',1)}} @endif
  • {{trans_choice('general.status',1)}}: @if($member->status=="attender") {{trans_choice('general.attender',1)}} @endif @if($member->status=="visitor") {{trans_choice('general.visitor',1)}} @endif @if($member->status=="inactive") {{trans_choice('general.inactive',1)}} @endif @if($member->status=="member") {{trans_choice('general.member',1)}} @endif @if($member->status=="unknown") {{trans_choice('general.unknown',1)}} @endif
  • {{trans_choice('general.marital_status',1)}}: @if($member->marital_status=="single") {{trans_choice('general.single',1)}} @endif @if($member->marital_status=="divorced") {{trans_choice('general.divorced',1)}} @endif @if($member->marital_status=="widowed") {{trans_choice('general.widowed',1)}} @endif @if($member->marital_status=="engaged") {{trans_choice('general.engaged',1)}} @endif @if($member->marital_status=="separated") {{trans_choice('general.separated',1)}} @endif @if($member->marital_status=="married") {{trans_choice('general.married',1)}} @endif @if($member->marital_status=="unknown") {{trans_choice('general.unknown',1)}} @endif
  • {{trans_choice('general.view',1)}} {{trans_choice('general.member',1)}} {{trans_choice('general.file',2)}}
      @foreach(unserialize($member->files) as $key=>$value)
    • {!! $value!!}
    • @endforeach
  • {{$member->notes}}
  • {{trans_choice('general.custom_field',2)}}
  • @foreach($custom_fields as $key)
  • @if(!empty($key->custom_field)) {{$key->custom_field->name}}: @endif @if($key->custom_field->field_type=="checkbox") @foreach(unserialize($key->name) as $v=>$k) {{$k}}
    @endforeach @else {{$key->name}} @endif
  • @endforeach