@if($invoiceSettings->per_th==1) @elseif($invoiceSettings->per_th==2) @elseif($invoiceSettings->per_th==3) @endif
@php $setting = generalSetting(); $in_no=1; @endphp @foreach ($invoices as $invoice) @php $parent =$invoice->recordDetail->studentDetail->parents; @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 @php $paid_amount = 0; @endphp @foreach ($invoice->invoiceDetails as $key=>$invoiceDetail) @php $paid_amount += $invoiceDetail->paid_amount; @endphp|
{{@$invoiceDetail->feesType->name}} @if ($invoiceDetail->weaver > 0)@lang('fees.discount')(-) @endif @if ($invoiceDetail->fine > 0)@lang('fees.fine')(+) @endif @if ($invoiceDetail->paid_amount > 0)@lang('fees.paid')(+) @endif |
{{currency_format($invoiceDetail->amount)}}
@if ($invoiceDetail->weaver > 0)
{{currency_format($invoiceDetail->weaver)}} @endif @if ($invoiceDetail->fine > 0) {{currency_format($invoiceDetail->fine)}} @endif @if ($invoiceDetail->paid_amount > 0) {{currency_format($invoiceDetail->paid_amount)}} @endif |
@endif
@if($invoiceSettings->per_th==2 || $invoiceSettings->per_th==3)
{{@$invoiceDetail->feesType->name}} @if ($invoiceDetail->weaver > 0)@lang('fees.discount')(-) @endif @if ($invoiceDetail->fine > 0)@lang('fees.fine')(+) @endif @if ($invoiceDetail->paid_amount > 0)@lang('fees.paid')(+) @endif |
{{currency_format($invoiceDetail->amount)}}
@if ($invoiceDetail->weaver > 0)
{{currency_format($invoiceDetail->weaver)}} @endif @if ($invoiceDetail->fine > 0) {{currency_format($invoiceDetail->fine)}} @endif @if ($invoiceDetail->paid_amount > 0) {{currency_format($invoiceDetail->paid_amount)}} @endif |
@endif
@if($invoiceSettings->per_th==3)
{{@$invoiceDetail->feesType->name}} @if ($invoiceDetail->weaver > 0)@lang('fees.discount')(-) @endif @if ($invoiceDetail->fine > 0)@lang('fees.fine')(+) @endif @if ($invoiceDetail->paid_amount > 0)@lang('fees.paid')(+) @endif |
{{currency_format($invoiceDetail->amount)}}
@if ($invoiceDetail->weaver > 0)
{{currency_format($invoiceDetail->weaver)}} @endif @if ($invoiceDetail->fine > 0) {{currency_format($invoiceDetail->fine)}} @endif @if ($invoiceDetail->paid_amount > 0) {{currency_format($invoiceDetail->paid_amount)}} @endif |
@endif
||
@lang('fees.total_payable_amount') |
{{ currency_format((float) $paid_amount)}} | @endif @if($invoiceSettings->per_th == 2 || $invoiceSettings->per_th == 3)@lang('fees.total_payable_amount') |
{{ currency_format((float) $paid_amount)}} | @endif @if($invoiceSettings->per_th == 3)@lang('fees.total_payable_amount') |
{{ currency_format((float) $paid_amount)}} | @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