@extends('layouts.user-profile-wide') @section('subtitle', trans('app.family_chart')) @section('user-content')
{{ trans('user.grand_father') }} & {{ trans('user.grand_mother') }} | {{ $fatherGrandpa ? $fatherGrandpa->profileLink('chart') : '?' }} | {{ $fatherGrandma ? $fatherGrandma->profileLink('chart') : '?' }} | {{ $motherGrandpa ? $motherGrandpa->profileLink('chart') : '?' }} | {{ $motherGrandma ? $motherGrandma->profileLink('chart') : '?' }} |
---|---|---|---|---|
{{ trans('user.father') }} & {{ trans('user.mother') }} | {{ $father ? $father->profileLink('chart') : '?' }} | {{ $mother ? $mother->profileLink('chart') : '?' }} | ||
{{ $user->profileLink('chart') }} ({{ $user->gender }}) | ||||
{{ trans('user.childs') }} & {{ trans('user.grand_childs') }} |
@foreach($childs->chunk(4) as $chunkedChild)
@foreach($chunkedChild as $child)
@endforeach
{{ ++$no }}. {{ $child->profileLink('chart') }} ({{ $child->gender }})
@endif |