@extends('docs.master', ['title'=> 'Project Report ']) @section('content')
| Sold Unit | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| # | Project | Unit Type | Total Unit | Sold Unit | Sold Area | Sold Price | Rate / SQFT | Receipts | Receipts % | Balance |
| {{ $i++ }} | {{ $item->project }} | {{ $item->unit_type }} | {{ $item->total_units_total }} | {{ $item->total_units }} | {{ number_format($item->unit_gross_area, 0) }} | {{ number_format($item->unit_sale_price, 0) }} | {{ number_format($item->unit_gross_area > 0 ? $item->unit_sale_price / $item->unit_gross_area : 0) }} | {{ number_format($item->unit_total_received, 0) }} | {{ number_format($item->unit_sale_price > 0 ? ($item->unit_total_received / $item->unit_sale_price) * 100 : 0) }} | {{ number_format($item->unit_sale_price - $item->unit_total_received) }} |
| Total | {{ number_format($total_units_total) }} | {{ number_format($total_units) }} | {{ number_format($total_sold_area) }} | {{ number_format($total_sale_price) }} | {{ number_format($total_sold_area > 0 ? $total_sale_price / $total_sold_area : 0) }} | {{ number_format($total_receipts) }} | {{ number_format($total_sale_price > 0 ? ($total_receipts / $total_sale_price) * 100 : 0) }}% | {{ number_format($total_sale_price - $total_receipts) }} | ||
| Available Unit | |||||||
|---|---|---|---|---|---|---|---|
| # | Project | Unit Type | Total Unit | Available Unit | Avail Area | Available Price | Rate / SQFT |
| {{ $j++ }} | {{ $item->projectname ?? 'N/A' }} | {{ $item->unittype ?? 'N/A' }} | {{ number_format($totalUnitsFromAvailable) }} | {{ number_format($calculatedAvailableUnits) }} | {{ number_format($item->gross_area ?? 0, 0) }} | {{ number_format($item->total_price ?? 0, 0) }} | {{ number_format(($item->gross_area ?? 0) > 0 ? ($item->total_price ?? 0) / ($item->gross_area ?? 0) : 0) }} |
| Total | {{ number_format($total_avail_units_amount) }} | {{ number_format($total_avail_units_count) }} | {{ number_format($total_avail_area) }} | {{ number_format($total_avail_price) }} | {{ number_format($total_avail_area > 0 ? $total_avail_price / $total_avail_area : 0) }} | ||
Printed On: {{ date('d-m-Y h:i:s A') }} by {{ Auth::user()->name }}