@extends('layouts.app') @section('title') Overall Booking, Recovery and Receiveable Status @stop @section('breadcrumb') @stop @section('css') @stop @section('content') @php $size = ''; if ($projectType->id == \App\ProjectType::society) { $size = \App\ProjectType::society_size; } else { $size = \App\ProjectType::high_rise_size; } @endphp
@can('isSuperAdmin') @include('partial.multiproject_select') @endcan

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

Overall Booking, Recovery and Receiveable Status

AS ON {{ date('d-m-Y') }}
@foreach ($unit_blooks as $unit_blook) @foreach ($floor_data as $f) @if ($unit_blook->name == $f['block']) @endif @endforeach @php if ($block_total_units_amount - $block_booked_units_amount > 0) { $block_discount = $block_total_units_amount - $block_booked_units_amount; } @endphp @endforeach @foreach ($floor_data as $f) @endforeach @if (empty(request()->type)) @foreach ($type_data as $type) @foreach ($type['type'] as $t) @if ($t['total_units'] > 0) @endif @endforeach @if ($total_units_count > 0) @endif @endforeach @endif
APARTMENT NO. OF UNITS TOTAL AREA (In {{ $size }}) TOTAL SALES VALUE (In Rs.) RECOVERY AND RECEIVEABLE AG. BOOKED UNITS
Block Total Booked Unbooked All Units Booked Un-Booked Booked Un-Booked Total Discount Recovery Balance Receivables Overdues Future Ins.
{{ $unit_blook->name }} {{ number_format($block_total_units_count) }} {{ number_format($block_booked_units_count) }} {{ number_format($block_un_booked_units_count) }} {{ number_format($block_total_units_area) }} {{ number_format($block_booked_units_area) }} {{ number_format($block_un_booked_units_area) }} {{ number_format($block_booked_units_amount) }} {{ number_format($block_un_booked_units_amount) }} {{ number_format($block_total_units_amount) }} {{ number_format($block_discount) }} {{ number_format($block_recovery) }} {{ number_format($block_receivable) }} {{ number_format($block_overdue) }} {{ number_format($block_future) }}
Total {{ number_format($block_total_units) }} {{ number_format($block_booked_units) }} {{ number_format($block_un_booked_units) }} {{ number_format($block_total_units_area_count) }} {{ number_format($block_booked_units_area_count) }} {{ number_format($block_un_booked_units_area_count) }} {{ number_format($block_total_units_amount_count) }} {{ number_format($block_booked_units_amount_count) }} {{ number_format($block_un_booked_units_amount_count) }} {{ number_format($block_discount_count) }} {{ number_format($block_recovery_count) }} {{ number_format($block_receivable_count) }} {{ number_format($block_overdue_count) }} {{ number_format($block_future_count) }}
                             
APARTMENT NO. OF UNITS TOTAL AREA (In {{ $size }}) TOTAL SALES VALUE (In Rs.) RECOVERY AND RECEIVEABLE AG. BOOKED UNITS
TYPE Total Booked Unbooked All Units Booked Un-Booked Booked Un-Booked Total Discount Recovery Balance Receivables Overdues Future Ins.
{{ $f['block'] }} - {{ $f['name'] }} {{ $f['total_units'] }} {{ $f['booked_units'] }} {{ $f['un_booked_units'] }} {{ number_format($f['total_units_area']) }} {{ number_format($f['booked_units_area']) }} {{ number_format($f['un_booked_units_area']) }} {{ number_format($f['booked_units_amount']) }} {{ number_format($f['un_booked_units_amount']) }} {{ number_format($f['total_units_amount']) }} @if ($f['total_units_amount'] - $f['booked_units_amount'] > 0) {{ number_format($f['total_units_amount'] - $f['booked_units_amount']) }} @else {{ 0 }} @endif {{ number_format($f['recovery']) }} {{ number_format($f['receivable']) }} {{ number_format($f['overdue']) }} {{ number_format($f['future']) }}
Total {{ number_format($total_units_count) }} {{ number_format($booked_units_count) }} {{ number_format($un_booked_units_count) }} {{ number_format($total_units_area) }} {{ number_format($booked_units_area) }} {{ number_format($un_booked_units_area) }} {{ number_format($booked_units_amount) }} {{ number_format($un_booked_units_amount) }} {{ number_format($total_units_amount) }} {{ number_format($discount) }} {{ number_format($recovery) }} {{ number_format($receivable) }} {{ number_format($overdue) }} {{ number_format($future) }}
                             
{{ $type['floor_name'] }}
{{ $t['type_name'] }} {{ $t['total_units'] }} {{ $t['booked_units'] }} {{ $t['un_booked_units'] }} {{ number_format($t['total_units_area']) }} {{ number_format($t['booked_units_area']) }} {{ number_format($t['un_booked_units_area']) }} {{ number_format($t['booked_units_amount']) }} {{ number_format($t['un_booked_units_amount']) }} {{ number_format($t['total_units_amount']) }} {{ number_format($t['discount']) }} {{ number_format($t['recovery']) }} {{ number_format($t['receivable']) }} {{ number_format($t['overdue']) }} {{ number_format($t['future']) }}
Total {{ number_format($total_units_count) }} {{ number_format($booked_units_count) }} {{ number_format($un_booked_units_count) }} {{ number_format($total_units_area) }} {{ number_format($booked_units_area) }} {{ number_format($un_booked_units_area) }} {{ number_format($booked_units_amount) }} {{ number_format($un_booked_units_amount) }} {{ number_format($total_units_amount) }} {{ number_format($discount) }} {{ number_format($recovery) }} {{ number_format($receivable) }} {{ number_format($overdue) }} {{ number_format($future) }}
Percentage {{ round(($booked_units_count / $total_units_count) * 100) }} % {{ round(($un_booked_units_count / $total_units_count) * 100) }} % @if ($total_units_area > 0) {{ round(($booked_units_area / $total_units_area) * 100) }} @endif % @if ($total_units_area > 0) {{ round(($un_booked_units_area / $total_units_area) * 100) }} @endif % @if ($total_units_amount > 0) {{ round(($booked_units_amount / $total_units_amount) * 100) }} @endif % @if ($total_units_amount > 0) {{ round(($un_booked_units_amount / $total_units_amount) * 100, 1) }} @endif % @if ($booked_units_amount > 0) {{ round(($discount / $booked_units_amount) * 100, 1) }} @endif % @if ($booked_units_amount > 0) {{ round(($recovery / $booked_units_amount) * 100, 1) }} @endif % @if ($booked_units_amount > 0) {{ round(($receivable / $booked_units_amount) * 100, 1) }} @endif % @if ($receivable > 0) {{ round(($overdue / $receivable) * 100) }} @endif % @if ($receivable > 0) {{ round(($future / $receivable) * 100, 1) }} @endif %
@stop @section('js') @stop