@extends('layouts.dashboard') @section('title-content') {{ config('app.name') }} | Billing Info @endsection @section('content')

Billing Info's

Particulars Below shows the Bills and Payment Schedules for the Current Academic Year

@if (count($main_bill) < 1) @endif @foreach ($main_bill as $key) @php $balance = 0; @endphp @if ($trans_bill_info->where('account_code', $key->account_code)->count() > 0) @endif @foreach ($trans_bill_info->where('account_code', $key->account_code) as $vey) @php if ($vey->credit == 0) { $balance = $balance + $vey->debit; } else { $balance = $balance - $vey->credit; } @endphp @if ($vey->credit == 0) @endif @if ($vey->credit != 0) @endif @endforeach @endforeach
Date Description Control Number Transaction Debit Credit Balance Action

No Data Found for the specified Academic Year

{{ $key->account_code }}: {{ $key->gfs_code_description }}

{{ $vey->date }} {{ $vey->description }} {{ $vey->controlno }} {{ $vey->transaction }} {{ number_format($vey->debit) }} {{ number_format($vey->credit) }} {{ number_format($balance) }}
{{ $vey->date }} {{ $vey->description }} {{ $vey->controlno }} {{ $vey->transaction }} {{ number_format($vey->debit) }} {{ number_format($vey->credit) }} {{ number_format($balance) }} {!! Form::open([ 'route' => 'transaction.printTransaction', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) !!} {!! Form::close() !!}
@endsection