{{-- --}}
QAFYS
Bismillahir Rahmanir Raheem

Qur'an Academy for Young Scholars (QAFYS)

166-15 & 19 89th Ave, Jamaica, NY 11432

Phone : (844) 442-6622

www.qafys.org | support@qafys.org

{{-- QAFYS --}}
@if (isset($contact))

{{ $contact->first_name . ' ' . $contact->last_name }}

{{ $contact->address }}

{{ $contact->street_number . ', ' . $contact->city . ', ' . $contact->state . ', ' . $contact->zip_code }}

@endif {{-- @if (request()->transaction_type_id || request()->donor_id || request()->payment_type_id)

{{ $contact->name ?? '' }}

@if ($transaction_type) Transaction Type: {{ $transaction_type->name }} @endif

@if ($payment_type) Transaction Type: {{ $payment_type->name }} @endif

@endif --}}

Statement Period

{{ date('m-d-Y', strtotime($statement_from_date)) }} to {{ date('m-d-Y', strtotime($statement_to_date)) }}

Transaction Statement Report
{{--
OPENING BALANCE
${{ number_format($opening_balance ?? 0, 2) }}
as of {{ date('m-d-Y', strtotime($statement_from_date)) }}
TOTAL TRANSACTIONS
${{ number_format($total_tran_amount, 2) }}
during this period
CLOSING BALANCE
${{ number_format(($opening_balance ?? 0) + $total_tran_amount, 2) }}
as of {{ date('m-d-Y', strtotime($statement_to_date)) }}
--}} @php $subtotal = 0; $quard_subtotal = 0; $quard_return_subtotal = 0; @endphp @if (count($donations) > 0)
@foreach ($donations as $transaction) @php $subtotal += $transaction->transaction_amount; @endphp @if ($transaction->TransectionType->type == 'debit') @elseif ($transaction->TransectionType->type == 'credit') @endif @endforeach
Transaction No Transaction Type Transaction Date Amount
#TR-{{ $transaction->id }} {{ $transaction->TransectionType->name ?? 'N/A' }} {{ date('m-d-Y', strtotime($transaction->created_at)) }} ${{ number_format($transaction->transaction_amount, 2) }} -${{ number_format($transaction->transaction_amount, 2) }}
Subtotal ${{ number_format($subtotal, 2) }}
@endif @if (count($quardHasanah) > 0)
@foreach ($quardHasanah as $transaction) @if ($transaction->TransectionType->type == 'debit') @php $quard_subtotal += $transaction->transaction_amount; @endphp @elseif ($transaction->TransectionType->type == 'credit') @php $quard_return_subtotal += $transaction->transaction_amount; @endphp @endif @endforeach
Transaction No Transaction Type Transaction Date Amount
#TR-{{ $transaction->id }} {{ $transaction->TransectionType->name ?? 'N/A' }} {{ date('m-d-Y', strtotime($transaction->created_at)) }} ${{ number_format($transaction->transaction_amount, 2) }} -${{ number_format($transaction->transaction_amount, 2) }}
Subtotal ${{ number_format($quard_subtotal - $quard_return_subtotal, 2) }}
@endif {{--
ACCOUNT SUMMARY
Opening Balance: ${{ number_format($opening_balance ?? 0, 2) }}
Closing Balance: ${{ number_format(($opening_balance ?? 0) + $total_tran_amount, 2) }}
--}} @if (isset($contact))
Transaction Notes

Thank you for your contribution to QAFYS. This statement reflects all transactions associated with reference {{ $contact->first_name . ' ' . $contact->last_name }}.

@endif