@extends('layouts.frontend') @section('title', '| Pour-Over Will Form') @section('css') @endsection @section('content') @include('frontend.forms.Pour-Over-Will.stepIndicator')
@csrf
@php /** * Decode the signing details from JSON format. * * This function decodes the signing details from JSON format retrieved from the pour-over will form data. * * @param array $pourOverWillForm An array containing the pour-over will form data. * @return array|null Returns an array containing the decoded signing details or null if decoding fails. * * @author Theshan Thanushka * @date 2024-04-11 */ $signingDetails = json_decode($pourOverWillForm['signing_details'], true); @endphp
Signing Details
When will you sign your Pour-Over Will?
{{-- Checks if signingDetails is set and its type is 'Unsure'; if true, outputs 'checked', otherwise defaults to 'checked' --}} {{-- Checks if signingDetails is set and its type is 'Specific Date'; if true, outputs 'checked', otherwise outputs an empty string --}}
{{-- Sets the value of the input field to the specific date from signingDetails, if available, otherwise defaults to the current date --}} city
Where will you sign your Pour-Over Will?
{{-- Sets the value of the input field to the unsure city from signingDetails, if available, otherwise defaults to an empty string --}} city
@endsection @section('page-js') @endsection