@php $size= ''; if($projectType->id == \App\ProjectType::society){ $size= \App\ProjectType::society_size; } else { $size= \App\ProjectType::high_rise_size; } @endphp @php $map= ' '; if($projectType->id == \App\ProjectType::society){ $map= \App\ProjectType::society_map; } else { $map= \App\ProjectType::high_rise_map; } @endphp

Pending Statements ({{count($allStatements)}})

@foreach($allStatements as $statement) @if($statement->status == \App\CustomerProperty::pending) @elseif($statement->status == \App\CustomerProperty::approved) @elseif($statement->status == \App\CustomerProperty::cancel) @else @endif @endforeach
# Project Unit # Size Member Name Net Amount Received Amount Sold By Booking Date Status Action
{{$count++}} @if($statement->inventory) @if($statement->inventory->multiProject) {{$statement->inventory->multiProject->name}} @else None @endif @endif {{$statement->inventory ? $statement->inventory->unit_number : '' }} @if($statement->inventory) @if($statement->inventory->size) {{$statement->inventory->size->name}} {{$size}} @endif @endif {{$statement->customer ? $statement->customer->name: ''}} {{number_format($statement->net_pay)}} PKR {{number_format($receivedAmt[$statement->id])}} PKR @if($statement->dealer) {{$statement->dealer->name}} ({{$statement->dealer->dealerType->name}}) @else Company @endif {{date('d-m-Y', strtotime($statement->booking_date)) }}PendingApprovedCanceled