@endif
{{$count++}} |
{{$statement->inventory ? $statement->inventory->unit_number : ''}} |
{{$statement->customer ? $statement->customer->name: ''}} |
@if($statement->dealer)
{{$statement->dealer->name}}
@endif |
{{number_format($statement->net_pay)}} PKR
|
{{number_format($due['receivedAmt'][$statement->id])}} PKR
|
{{number_format($due['dueAmt'][$statement->id])}} PKR
|
{{$due['dueDate'][$statement->id] ? date('d-m-Y', strtotime($due['dueDate'][$statement->id]->due_date)) : '' }}
@foreach($due['dueMonth'][$statement->id] as $s)
@if($loop->last)
{{date('M', strtotime($s->due_date))}}
@else
{{date('M', strtotime($s->due_date))}} -
@endif
@endforeach
|
@if($view_membership)
@endif
|
@foreach($due['dueMonth'][$statement->id] as $key => $s)
@if($s->payment_head == $payment_head[$j])
@if($statement->customer->is_filer == 1)
@else
@endif
@if($payment_head[$j] == \App\CustomerStatement::down_payment)
Down Payment
@elseif($payment_head[$j] == \App\CustomerStatement::possession)
Possession Fee
@elseif($payment_head[$j] == \App\CustomerStatement::installment)
Installment - {{$s->inst_no}}
@elseif($payment_head[$j] == \App\CustomerStatement::other)
Other
@endif
{{number_format($s->due)}}
Tax
{{ number_format($tax_total) }}
|
@endif
@endforeach
@foreach($due['dueMonth'][$statement->id] as $key => $s)
@if($s->payment_head == $payment_head[$j])
@if($statement->customer->is_filer == 1)
@else
@endif
@if($payment_head[$j] == \App\CustomerStatement::down_payment)
Down Payment
@elseif($payment_head[$j] == \App\CustomerStatement::possession)
Possession Fee
@elseif($payment_head[$j] == \App\CustomerStatement::installment)
Installment - {{$s->inst_no}}
@elseif($payment_head[$j] == \App\CustomerStatement::other)
Other
@endif
{{number_format($s->due)}}
Tax
{{ number_format($tax_total) }}
|
@endif
@endforeach
@foreach($due['dueMonth'][$statement->id] as $key => $s)
@if($s->payment_head == $payment_head[$j])
@if($statement->customer->is_filer == 1)
@else
@endif
@if($payment_head[$j] == \App\CustomerStatement::down_payment)
Down Payment
@elseif($payment_head[$j] == \App\CustomerStatement::possession)
Possession Fee
@elseif($payment_head[$j] == \App\CustomerStatement::installment)
Installment - {{$s->inst_no}}
@elseif($payment_head[$j] == \App\CustomerStatement::other)
Other
@endif
{{number_format($s->due)}}
Tax
{{ number_format($tax_total) }}
|
@endif
@endforeach
@foreach($due['dueMonth'][$statement->id] as $key => $s)
@if($s->payment_head == $payment_head[$j])
@if($statement->customer->is_filer == 1)
@else
@endif
@if($payment_head[$j] == \App\CustomerStatement::down_payment)
Down Payment
@elseif($payment_head[$j] == \App\CustomerStatement::possession)
Possession Fee
@elseif($payment_head[$j] == \App\CustomerStatement::installment)
Installment - {{$s->inst_no}}
@elseif($payment_head[$j] == \App\CustomerStatement::other)
Other
@endif
{{number_format($s->due)}}
Tax
{{ number_format($tax_total) }}
|
@endif
@endforeach
@endif
@endforeach