@extends('layouts.v2.frontend-user-backend') @section('title', '| Last Will And Testament') @section('content') @include('frontend.forms.v2.Will-Testament.stepIndicator')
@csrf

Gifts

Do you want to leave any specific gifts in your Will?

specific_gifts == 'yes' && isset($willsAndTest->specific_gifts) ? 'checked' : '' }}>
specific_gifts == 'no' && isset($willsAndTest->specific_gifts) ? 'checked' : '' }}>
Who will receive gifts in the WILL?
@php $willsAndTestGiftArray = json_decode($willsAndTest->specific_gifts_details, true) @endphp @if(!empty($willsAndTest->specific_gifts_details) && count($willsAndTestGiftArray) > 0 ) @foreach($willsAndTestGiftArray as $index => $gift)
Gift recipient
Remove
e.g. William Timothy Smith
city
e.g. United Way Worldwide, Feeding America
e.g. 200583415
{{-- Hidden field to send "no" when checkbox is unchecked --}} {{-- Actual checkbox (sends "yes" if checked) --}} {{-- alternate gift holder --}} {{-- alternate gift holder end--}}
@endforeach @else
Gift recipient
Remove
e.g. William Timothy Smith
city
country
{{-- alternate gift holder --}} {{-- alternate gift holder end--}}
@endif
@endsection @section('page-js') @endsection