@if(isset($totalTuitionFee))
Student Tuition Fees
Description Amount
Total Tuition Fee Collection {{ number_format($totalTuitionFee) }}
@endif
Other Income-Expense
{{-- --}} {{-- --}} {{-- @if($role=='developer' or $role=='s_admin')--}} {{-- --}} {{-- @endif--}} @php($totalIncome = 0) @php($totalExpense = 0) @foreach($transactions as $expense) @php($sl = $loop->iteration) {{-- --}} {{-- --}} {{-- @if($role=='developer' or $role=='s_admin')--}} {{-- --}} {{-- @endif--}} @endforeach {{-- @if($role=='developer' or $role=='s_admin')--}} {{-- --}} {{-- @endif--}}
Sl Description Account HolderBearerContactDate Media Note Received(Tk) Paid(Tk)Option
{{ $sl }} {{ $expense->item->name }} @if($expense->month_id !== null) : {{ $expense->month->name }}-{{ $expense->year }}@endif {{ $expense->account->name }}{{ $expense->bearer }}{{ $expense->contact_no }}{{ date_format($expense->created_at,'d/m/Y') }} {{ $method = paymentMethod($expense->payment_method) }} @if($method!='Cash') : {{ $expense->reference }} @endif {{ $expense->note }} @if($expense->type=='Income') {{ number_format($expense->amount) }} @php($totalIncome += $expense->amount) @endif @if($expense->type=='Expense') {{ number_format($expense->amount) }} @php($totalExpense += $expense->amount) @endif --}} {{-- --}} {{-- --}} {{--
Total {{ number_format($totalIncome) }} {{ number_format($totalExpense) }}
@if(isset($totalTuitionFee))
Income-Expense Summary
@php($balance = $totalTuitionFee+$totalIncome-$totalExpense)
Student Fees Collection {{ number_format($totalTuitionFee) }}
Other Income {{ number_format($totalIncome) }}
Total Expense {{ number_format($totalExpense) }}
Total Balance {{ number_format($balance) }}
@endif