@if ($data->letter == 1)

Letter

Date: {{ $data->date_formatted }}
{{ $data->name }} {{ $data->year }}
@if ($data->add_member_detail == 'Yes')

Dear: #MEMBER-NAME

Address: #ADDRESS

Member Number: #MEMBER-NUMBER

@endif
{!! $data->letter_content !!}

{{ env('CHURCH_ADDRESS') }} - {{ env('CHURCH_POBOX') }}
Tel: {{ env('CHURCH_TEL') }} Fax: {{ env('CHURCH_FAX') }} ABN: {{ env('CHURCH_ABN') }}
Email: {{ env('CHURCH_EMAIL') }}   Website: {{ env('WEBSITE') }}
@endif @if ($data->proxy_letter == 1)

Proxy Letter

@if ($data->add_member_detail == 'Yes')

Dear: #MEMBER-NAME

Address: #ADDRESS

Member Number: #MEMBER-NUMBER

@endif
{!! $data->proxy_appointment_content !!}

{{ env('CHURCH_ADDRESS') }} - {{ env('CHURCH_POBOX') }}
Tel: {{ env('CHURCH_TEL') }} Fax: {{ env('CHURCH_FAX') }} ABN: {{ env('CHURCH_ABN') }}
Email: {{ env('CHURCH_EMAIL') }}   Website: {{ env('WEBSITE') }}
@endif