My Bills
@error('current_session') {{ $message }} @enderror
@error('term_id') {{ $message }} @enderror
@forelse($this->bill_list as $bill)

{{$bill->user->name}} ({{$bill->my_class->name}} / Term {{$bill->term_id}})

Bill Due : {{$currency}} {{number_format($bill->total_amount, 2, '.', ',')}}
Amount Due : {{$currency}} {{number_format($bill->due_amount, 2, '.', ',')}}
Discount : {{$currency}} {{number_format($bill->discount_value, 2, '.', ',')}}
Paid : {{$currency}} {{number_format($bill->paid_amount,2,'.', ',')}}
Balance : {{$currency}} {{number_format($bill->balance,2,'.', ',')}}
Pre. Balance : {{$currency}} {{number_format($bill->pre_bal,2,'.', ',')}}
CR.0
Bill Details
@if($bill->paid_amount >= $bill->due_amount) @else @endif Payment History
@empty
@endforelse @if(!empty($this->bill_list))
@endif