@extends('layouts.app') @section('content')
| Kakek & Nenek | {{ $fatherGrandpa ? $fatherGrandpa->profileLink('chart') : '?' }} | {{ $fatherGrandma ? $fatherGrandma->profileLink('chart') : '?' }} | {{ $motherGrandpa ? $motherGrandpa->profileLink('chart') : '?' }} | {{ $motherGrandma ? $motherGrandma->profileLink('chart') : '?' }} |
|---|---|---|---|---|
| Ayah & Ibu | {{ $father ? $father->profileLink('chart') : '?' }} | {{ $mother ? $mother->profileLink('chart') : '?' }} | ||
| {{ $user->profileLink('chart') }} ({{ $user->gender }}) | ||||
| Anak-Anak & Cucu-Cucu |
@foreach($childs->chunk(4) as $chunkedChild)
@foreach($chunkedChild as $child)
@endforeach
{{ ++$no }}. {{ $child->profileLink('chart') }} ({{ $child->gender }})
@endif |
|||