@if($invoiceSettings->per_th==1) @elseif($invoiceSettings->per_th==2) @elseif($invoiceSettings->per_th==3) @endif
@php $setting = generalSetting(); $in_no=1; @endphp @foreach ($students as $student) @php $invoice_no= $invoiceSettings->prefix !=null ? $invoiceSettings->prefix.$student->admission_no.$student->id.$in_no++ : (string) date('Ymd').$student->admission_no.$student->id.$in_no++; $parent =$student->studentDetail->parents; $fees_assigneds=$student->fees; @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|
{{$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.paid')(+) @endif |
{{@$assigned_main_fees}}
@if ($discount_amount>0)
{{currency_format($discount_amount)}} @endif @if ($fine>0) {{currency_format($fine)}} @endif @if ($paid>0) {{currency_format($paid)}} @endif |
@endif
{{-- @endif --}}
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
{{-- @if ($p_amount>0) --}}
{{$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.paid')(+) @endif |
{{@$assigned_main_fees}}
@if ($discount_amount>0)
{{currency_format($discount_amount)}} @endif @if ($fine>0) {{currency_format($fine)}} @endif @if ($paid>0) {{currency_format($paid)}} @endif |
@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.paid')(+) @endif |
{{@$assigned_main_fees}}
@if ($discount_amount>0)
{{currency_format($discount_amount)}} @endif @if ($fine>0) {{currency_format($fine)}} @endif @if ($paid>0) {{currency_format($paid)}} @endif |
@endif
{{-- @endif --}}
||
@lang('fees.total_payable_amount') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ currency_format((float) $totalpayable)}} |
@endif
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
@lang('fees.total_payable_amount') |
{{-- {{ currency_format((float) $unapplied_discount_amount)}} --}} {{ currency_format((float) $totalpayable)}} |
@endif
@if($invoiceSettings->per_th==3)
@lang('fees.total_payable_amount') |
{{-- {{ number_format((float) $unapplied_discount_amount, 2, '.', '')}} --}} {{ number_format((float) $totalpayable, 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