@extends('layouts.app' ) @section('title') Due Properties @stop @section('css') @stop @section('content')

Due Amounts Properties

@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 @endif @endforeach
# Project Unit No. Member Name Dealer Net Amount Received Amount Due Amount Due Date Number
{{$count++}} {{$statement->multiProject?$statement->multiProject->name:'None'}} {{$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
{{$statement->customer->mobile_number}} @if($view_membership)    @endif
@stop @section('js') @stop