@if($invoiceSettings->per_th==1) @elseif($invoiceSettings->per_th==2) @elseif($invoiceSettings->per_th==3) @endif
@php $invoice_no= $invoiceSettings->prefix !=null ? $invoiceSettings->prefix.$student->admission_no.$student->id.rand(10,1000) : (string) date('Ymd').$student->admission_no.$student->id.rand(10,1000); $setting = generalSetting(); @endphp
@if (file_exists($setting->logo))
{{$setting->school_name}}{{$setting->address}}
|
@endif @if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3) |
@if (file_exists($setting->logo))
{{$setting->school_name}}{{$setting->address}}
|
@endif
@if($invoiceSettings->per_th==3)
@if (file_exists($setting->logo))
{{$setting->school_name}}{{$setting->address}}
|
@endif
||||
---|---|---|---|---|---|---|---|
@lang('fees.fees_details') | @lang('accounts.amount') ({{generalSetting()->currency_symbol}}) | @endif @if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3) | @lang('fees.fees_details') | @lang('accounts.amount') ({{generalSetting()->currency_symbol}}) | @endif @if( $invoiceSettings->per_th==3) | @lang('fees.fees_details') | @lang('accounts.amount') ({{generalSetting()->currency_symbol}}) | @endif
{{@$feesInstallment->installment->title }} @if ($feesInstallment->discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($feesInstallment->paid_amount != 0)@lang('fees.submit')(+) @if($feesInstallment->active_status == 1)[@lang('fees.paid')] @endif @else[@lang('fees.unpaid')] @endif |
{{number_format($feesInstallment->amount, 2, '.', '') }}
@if ($feesInstallment->discount_amount>0)
{{number_format($feesInstallment->discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($feesInstallment->paid_amount != 0 ) {{number_format($feesInstallment->paid_amount, 2, '.', '')}} @endif |
@endif
{{-- 1st warp End --}}
{{-- 2nd warp start here --}}
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
{{@$feesInstallment->installment->title }} @if ($feesInstallment->discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($feesInstallment->paid_amount != 0)@lang('fees.submit')(+) @if($feesInstallment->active_status == 1)[@lang('fees.paid')] @endif @else[@lang('fees.unpaid')] @endif |
{{number_format($feesInstallment->amount, 2, '.', '') }}
@if ($feesInstallment->discount_amount>0)
{{number_format($feesInstallment->discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($feesInstallment->paid_amount != 0 ) {{number_format($feesInstallment->paid_amount, 2, '.', '')}} @endif |
@endif
{{-- 2nd warp End --}}
{{-- 3rd warp start here --}}
@if($invoiceSettings->per_th==3)
{{@$feesInstallment->installment->title }} @if ($feesInstallment->discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($feesInstallment->paid_amount != 0)@lang('fees.submit')(+) @if($feesInstallment->active_status == 1)[@lang('fees.paid')] @endif @else[@lang('fees.unpaid')] @endif |
{{number_format($feesInstallment->amount, 2, '.', '') }}
@if ($feesInstallment->discount_amount>0)
{{number_format($feesInstallment->discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($feesInstallment->paid_amount != 0 ) {{number_format($feesInstallment->paid_amount, 2, '.', '')}} @endif |
@endif
{{-- 3rd warp End --}}
||
{{@$feesInstallment->installment->title }} @if ($feesInstallment->discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($feesInstallment->active_status == 1)@lang('fees.submit')(+) [@lang('fees.paid')] @else[@lang('fees.unpaid')] @endif |
{{number_format($feesInstallment->amount, 2, '.', '') }}
@if ($feesInstallment->discount_amount>0)
{{number_format($feesInstallment->discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($feesInstallment->active_status ==1 ) {{number_format($feesInstallment->paid_amount, 2, '.', '')}} @endif |
@endif
{{-- 1st warp End --}}
{{-- 2nd warp start here --}}
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
{{@$feesInstallment->installment->title }} @if ($feesInstallment->discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($feesInstallment->active_status == 1)@lang('fees.submit')(+) [@lang('fees.paid')] @else[@lang('fees.unpaid')] @endif |
{{number_format($feesInstallment->amount, 2, '.', '') }}
@if ($feesInstallment->discount_amount>0)
{{number_format($feesInstallment->discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($feesInstallment->active_status ==1 ) {{number_format($feesInstallment->paid_amount, 2, '.', '')}} @endif |
@endif
{{-- 2nd warp End --}}
{{-- 3rd warp start here --}}
@if($invoiceSettings->per_th==3)
{{@$feesInstallment->installment->title }} @if ($feesInstallment->discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($feesInstallment->active_status == 1)@lang('fees.submit')(+) [@lang('fees.paid')] @else[@lang('fees.unpaid')] @endif |
{{number_format($feesInstallment->amount, 2, '.', '') }}
@if ($feesInstallment->discount_amount>0)
{{number_format($feesInstallment->discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($feesInstallment->active_status ==1 ) {{number_format($feesInstallment->paid_amount, 2, '.', '')}} @endif |
@endif
{{-- 1st warp End --}}
||
{{$fees_assigned->feesGroupMaster!=""?$fees_assigned->feesGroupMaster->feesGroups->name:""}} [{{$fees_assigned->feesGroupMaster!=""?$fees_assigned->feesGroupMaster->feesTypes->name:""}}] @if ($discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($paid>0)@lang('fees.submit')(+) @endif@lang('fees.unpaid') |
{{@$assigned_main_fees}}
@if ($discount_amount>0)
{{number_format($discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($paid>0) {{number_format($paid, 2, '.', '')}} @endif {{number_format(@$p_amount, 2, '.', '')}} |
{{-- @endif --}}
@endif
{{-- @if ($p_amount>0) --}}
@if( $invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
{{$fees_assigned->feesGroupMaster!=""?$fees_assigned->feesGroupMaster->feesGroups->name:""}} [{{$fees_assigned->feesGroupMaster!=""?$fees_assigned->feesGroupMaster->feesTypes->name:""}}] @if ($discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($paid>0)@lang('fees.submit')(+) @endif@lang('fees.unpaid') |
{{@$assigned_main_fees}}
@if ($discount_amount>0)
{{number_format($discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($paid>0) {{number_format($paid, 2, '.', '')}} @endif {{number_format(@$p_amount, 2, '.', '')}} |
@endif
{{-- @endif --}}
{{-- @if ($p_amount>0) --}}
@if($invoiceSettings->per_th==3)
{{$fees_assigned->feesGroupMaster!=""?$fees_assigned->feesGroupMaster->feesGroups->name:""}} [{{$fees_assigned->feesGroupMaster!=""?$fees_assigned->feesGroupMaster->feesTypes->name:""}}] @if ($discount_amount>0)@lang('fees.discount')(-) @endif @if ($fine>0)@lang('fees.fine')(+) @endif @if ($paid>0)@lang('fees.submit')(+) @endif@lang('fees.unpaid') |
{{@$assigned_main_fees}}
@if ($discount_amount>0)
{{number_format($discount_amount, 2, '.', '')}} @endif @if ($fine>0) {{number_format($fine, 2, '.', '')}} @endif @if ($paid>0) {{number_format($paid, 2, '.', '')}} @endif {{number_format(@$p_amount, 2, '.', '')}} |
@endif
{{-- @endif --}}
||
@lang('fees.grand_total') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) $grand_total, 2, '.', '')}} |
@endif
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
@lang('fees.grand_total') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) $grand_total, 2, '.', '')}} |
@endif
@if($invoiceSettings->per_th==3)
@lang('fees.grand_total') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) $grand_total, 2, '.', '')}} |
@endif
||
@lang('fees.total_paid') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) $total_grand_paid, 2, '.', '')}} |
@endif
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
@lang('fees.total_paid') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) $total_grand_paid, 2, '.', '')}} |
@endif
@if($invoiceSettings->per_th==3)
@lang('fees.total_paid') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) $total_grand_paid, 2, '.', '')}} |
@endif
||
@lang('fees.total_payable_amount') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) ($grand_total - $total_grand_paid - $discount_amount), 2, '.', '')}} |
@endif
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
@lang('fees.total_payable_amount') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) ($grand_total - $total_grand_paid - $discount_amount), 2, '.', '')}} |
@endif
@if($invoiceSettings->per_th==3)
@lang('fees.total_payable_amount') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) ($grand_total - $total_grand_paid - $discount_amount), 2, '.', '')}} |
@endif
||
@lang('fees.if_unpaid_admission_will_be_cancelled_after') | @endif @if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)@lang('fees.if_unpaid_admission_will_be_cancelled_after') | @endif @if($invoiceSettings->per_th==3)@lang('fees.if_unpaid_admission_will_be_cancelled_after') | @endif|||||
@lang('fees.parents_phone_number') : {{@$parent->guardians_mobile}} |
@endif
@if( $invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
@lang('fees.parents_phone_number') : {{@$parent->guardians_mobile}} |
@endif
@if($invoiceSettings->per_th==3)
@lang('fees.parents_phone_number') : {{@$parent->guardians_mobile}} |
@endif