@if($currentBeneficiary) @foreach(['basic','bank','testimony'] as $section)
@if($section == 'basic')
@endif @foreach($currentBeneficiary[$section] as $k => $v) @if ($section != 'testimony') @else @endif @endforeach
{{ $k }} {{ $v }} {{ $k }}: {{ $v }}
@endforeach @endif