Finquest

{{ $event['name'] }} {{ count($event['member']) }} members

Split Summary

Created On: {{ $event['created_at'] }}
Updated On: {{ $event['updated_at'] }}
@php $i = 1; @endphp @if (isset($event['splitData']) && !empty($event['splitData'])) @foreach ($event['splitData'] as $key => $val) @if (isset($val->amount) && $val->amount > 0) @endif @endforeach @endif
No From To Amount
{{ $i++ }} {{ $val->from_name }} {{ $val->to_name }} {{ sprintf('%01.2f', $val->amount) }}

Transactions

@php $total = 0; @endphp @if (isset($event['transaction']) && !empty($event['transaction'])) @foreach ($event['transaction'] as $key => $val) @php $total = $total + $val['amount']; @endphp @endforeach @endif
Name Date Category Note Split Between Amount
{{ $val['payer'] }} {{ $val['transaction_date'] }} {{ $val['category'] }} {{ $val['note'] }} @if (isset($val['splitbetween']) && !empty($val['splitbetween'])) @foreach ($val['splitbetween'] as $k => $v) {{ $v }}, @endforeach @endif {{ sprintf('%01.2f', $val['amount']) }}
Total {{ sprintf('%01.2f', $total) }}

TOTAL EXPENSE(MEMBER WISE)

@php $i = 1; @endphp @if (isset($event['payerData']) && !empty($event['payerData'])) @foreach ($event['payerData'] as $key => $val) @if (isset($val->amount) && $val->amount > 0) @endif @endforeach @endif
Name Amount
{{ $val->name }} {{ sprintf('%01.2f', $val->amount) }}