@php $remain_td = 0; @endphp
Report

@foreach($project_names as $key => $project_name) {{ $project_name }} @if($key < count($project_names) - 1) , @endif @endforeach

Recovery Dues Till {{ date('d/m/Y') }}

@permission('due-payments')

Due Amounts View All

@permission('view-membership') @else @endpermission @if (isset($properties)) @foreach ($properties as $statement) @if ($dueAmt[$statement->id] > 0) @if ($color[$statement->id] == 'red') @elseif($color[$statement->id] == 'orange') @else @endif @foreach ($dueMonth[$statement->id] as $key => $s) @if ($s->payment_head == $payment_head[$j]) @if ($statement->customer->is_filer == 1) @else @endif @endif @endforeach @foreach ($dueMonth[$statement->id] as $key => $s) @if ($s->payment_head == $payment_head[$j]) @if ($statement->customer->is_filer == 1) @else @endif @endif @endforeach @foreach ($dueMonth[$statement->id] as $key => $s) @if ($s->payment_head == $payment_head[$j]) @if ($statement->customer->is_filer == 1) @else @endif @endif @endforeach @foreach ($dueMonth[$statement->id] as $key => $s) @if ($s->payment_head == $payment_head[$j]) @if ($statement->customer->is_filer == 1) @else @endif @endif @endforeach @endif @endforeach @else @endif
Sr No. Unit No. Member Name Dealer Net Amount Received Amount Due Amount Due Date Action Installments
{{ $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($receivedAmt[$statement->id]) }} PKR {{ number_format($dueAmt[$statement->id]) }} PKR {{ $dueDate[$statement->id] ? date('d/m/Y', strtotime($dueDate[$statement->id]->due_date)) : '' }}
@foreach ($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
@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) }}
@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) }}
@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) }}
@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) }}
Null
Total: {{ number_format($net_amount) }} PKR {{ number_format($receive_amount) }} PKR {{ number_format($due_amount) }} PKR
@endpermission