@php($student = $invoice->student) @php($class = $invoice->class) @php($details = $invoice->studentPaymentItems) @php($colspan = 2)
{{--Invoice Status--}}
@if($invoice->status==1)
PAID
@elseif($invoice->status==2)
UNPAID
@elseif($invoice->status==3)
DELETED
@endif
Name: {{ $student->name }} ID: {{ $student->roll }} Class: {{ $class->code }} Session: {{ $details[0]->year }}-{{ $details[0]->year+1 }} Inv. No: {{ $invoice->invoice_number }}
@php($sl=1) @foreach($details as $detail) @php($paymentItem = $detail->item) @endforeach @if($invoice->discount>0) @endif
Sl. Description Reference Amount (BDT)
{{ $sl++ }} @if($paymentItem->billing_cycle==3)
  • {{ $paymentItem->name }} : {{ numberFormat($detail->receivable) }}/-
  • @if($detail->lab_fee>0)
  • Lab Fee : {{ numberFormat($detail->lab_fee) }}/-
  • @endif @if($detail->late_fee>0)
  • Late Fee : {{ numberFormat($detail->late_fee) }}/-
  • @endif
@else {{ $paymentItem->name }} {{-- @if($detail->lab_fee>0)--}} {{-- + Lab Fee : {{ numberFormat($detail->lab_fee) }}--}} {{-- @endif--}} {{-- @if($detail->late_fee>0)--}} {{-- + Late Fee : {{ numberFormat($detail->late_fee) }}--}} {{-- @endif--}} @endif
@if($paymentItem->billing_cycle==3) {{ $detail->month->name }} - {{ dateFormat($detail->due_date,'Y') }} @elseif($paymentItem->billing_cycle==2) {{ $detail->year }} - {{ $detail->year+1 }} @endif {{ numberFormat($detail->receivable+$detail->late_fee) }}/-
Total {{ numberFormat($invoice->amount) }}/-
Discount (-) {{ numberFormat($invoice->discount) }}/-
Received {{ numberFormat($invoice->received) }}/-
In Word: {{ convertNumberToWord($invoice->received) }} taka only.
Important Note:
  • Tk. 500/- will be added as a late fee after the 10th of the month.
  • Tk. 750/- will be added as a late fee after the end of the month.
@if($invoice->status==2)   @else {{-- @if($invoice->status === 1 and $invoice->payment_date === null)--}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{ dateFormat($invoice->payment_date,'jS M Y') }} @endif {{ siteInfo('invoice_signatory') }}
Payment Date Head Of Accounts