|
Month
@if (!empty($feeChallan['student_fee_tag']) && $feeChallan['student_fee_tag'] == 'Quarter')
{{ \Carbon\Carbon::create($feeChallan['challan_year_from'], $feeChallan['challan_month_from'], 1)->format('M Y') }}
-
{{ \Carbon\Carbon::create($feeChallan['challan_year_to'], $feeChallan['challan_month_to'], 1)->format('M Y') }}
@elseif (empty($feeChallan['student_fee_tag']))
@php
$start = \Carbon\Carbon::create(
$feeChallan['challan_year_from'],
$feeChallan['challan_month_from'],
1,
);
$end = \Carbon\Carbon::create(
$feeChallan['challan_year_to'],
$feeChallan['challan_month_to'],
1,
);
$dates = [];
while ($start->lte($end)) {
$dates[] = $start->format('M Y');
$start->addMonth();
}
@endphp
{{ implode(', ', $dates) }}
@else
{{ \Carbon\Carbon::create($feeChallan['challan_year_from'], $feeChallan['challan_month_from'], 1)->format('M Y') }}
@endif
|
|
Total Amount before due date
{{ number_format($feeChallan['challan_amount'], 0, '.', ',') }}
|
|
|
Late Fee
{{ number_format($feeChallan['challan_late_charges'], 0, '.', ',') }}
|
|
Total Amount after due date
{{ number_format($feeChallan['challan_amount_after_due_date'], 0, '.', ',') }}
|
|
|