@if($statement->payment_head == \App\CustomerStatement::down_payment)
Down Payment |
@elseif($statement->payment_head == \App\CustomerStatement::registration)
Registration Fee |
@elseif($statement->payment_head == \App\CustomerStatement::installment)
@if($i == 0)
@endif
Installment - {{$count++}} |
@elseif($statement->payment_head == \App\CustomerStatement::other)
Other |
@else
|
@endif
{{date('d-m-Y', strtotime($statement->due_date)) }} |
{{number_format($statement->due)}} | {{number_format($statement->received)}} | @if($statement->receipt)
@if($statement->receipt->payment_mode == \App\Receipt::cash)
Cash |
@elseif($statement->receipt->payment_mode == \App\Receipt::bank)
Bank transfer |
@elseif($statement->receipt->payment_mode == \App\Receipt::cheque)
Cheque |
@elseif($statement->receipt->payment_mode == \App\Receipt::adjacement)
Adjustment |
@else
|
@endif
@else
|
@endif
{{$statement->rcpt_no}} |
{{ $statement->rcpt_date ? date('d-m-Y', strtotime($statement->rcpt_date)) : '' }} |
@if($statement->received)
{{number_format($total)}} |
@if($statement->payment_head == \App\CustomerStatement::installment)
@endif
@if($statement->payment_head == \App\CustomerStatement::down_payment)
@endif
@else
|
@endif
@if($statement->payment_head == \App\CustomerStatement::installment)
@endif
@endforeach