@extends('layouts.app' ) @section('title') Recovery Due Till {{date('d-F-Y')}} @stop @section('css') @stop @section('content')

Report

{{env('APP_NAME')}}

Recovery Dues Till {{date('d-F-Y')}}

@permission('due-payments')

Due Amounts View All

@permission('view-membership') @else @endpermission @foreach($due['properties'] as $statement) @if($due['dueAmt'][$statement->id] > 0) @if($due['color'][$statement->id] == 'red') @elseif($due['color'][$statement->id] == 'orange') @else @endif @foreach($due['dueMonth'][$statement->id] as $key => $s) @if($s->payment_head == $payment_head[$j]) @if($statement->customer->is_filer == 1) @else @endif @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 @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 @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 @endif @endforeach @endif @endforeach
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($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
@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) }}
Total: {{number_format($net_amount)}} PKR {{number_format($receive_amount)}} PKR {{number_format($due_amount)}} PKR
@endpermission
@stop @section('js') @stop