@extends('layouts.app') @section('title') @if($block == 'summary' ) SUMMARY OF BOOKING, RECOVERY AND RECEIVABLES From {{date('d/m/Y' , strtotime($from_date))}} To {{date('d/m/Y' , strtotime($to_date))}} @else Account Statement & Recovery Sheet From {{date('d/m/Y' , strtotime($from_date))}} To {{date('d/m/Y' , strtotime($to_date))}} @endif @stop @section('css') @stop @section('breadcrumb')
@stop @section('content')NO. OF UNITS | TOTAL AREA (In {{env('SIZE')}}) | TOTAL SALES VALUE (In Rs.) | RECOVERY AND RECEIVEABLE AG. BOOKED UNITS | @foreach ($period as $key=> $dt) | @endforeach | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sr. | Block | Total | Booked | Unbooked | All Units | Booked | Un-Booked | Booked | Discount | Booked(Net) | Un-Booked | Total | Recovery | Balance Receivables | Overdues | Future Ins. | @foreach ($period as $key=> $dt){{$dt->format("M Y")}} | @endforeach|
{{$serial_no++}} | {{ $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_total_units_amount)}} | {{number_format($block_discount)}} | {{number_format($block_booked_units_amount)}} | {{number_format($block_un_booked_units_amount)}} | {{number_format( ($block_total_units_amount + $block_un_booked_units_amount) - $block_discount )}} | {{number_format($block_recovery)}} | {{number_format($block_receivable)}} | {{number_format($block_overdue)}} | {{number_format($block_future)}} | @foreach ($period as $key=> $dt)@endforeach | |
Total. | {{number_format($grand_block_total_units_count)}} | {{number_format($grand_block_booked_units_count)}} | {{number_format($grand_block_un_booked_units_count)}} | {{number_format($grand_block_total_units_area)}} | {{number_format($grand_block_booked_units_area)}} | {{number_format($grand_block_un_booked_units_area)}} | {{number_format($grand_block_booked_units_amount)}} | {{number_format($grand_block_discount)}} | {{number_format($grand_block_total_units_amount)}} | {{number_format($grand_block_un_booked_units_amount)}} | {{number_format($grand_block_total_units_amount + $grand_block_un_booked_units_amount)}} | {{number_format($grand_block_recovery)}} | {{number_format($grand_block_overdue + $grand_block_future)}} | {{number_format($grand_block_overdue)}} | {{number_format($grand_block_future)}} | @foreach ($period as $key=> $dt)@endforeach | ||
@foreach ($period as $dt) | @endforeach | |||||||||||||||||
Sr No. | Unit No. | Client Name | Dealer | Booking Date | Unit Floor | Area(Sft.) | Unit Block | Booked Price | Discount | Booked (Net) | Total Received | Balance Receivables | Overdue | Future Installments | @foreach ($period as $dt){{$dt->format("M Y")}} | @endforeach|||
{{$unit_block->name}} | @foreach ($period as $dt) | @endforeach | ||||||||||||||||
Sr No. | Unit No. | Client Name | Dealer | Booking Date | Unit Floor | Area(Sft.) | Unit Block | Booked Price | Discount | Booked (Net) | Total Received | Balance Receivables | Overdue | Future Installments | @foreach ($period as $dt){{$dt->format("M Y")}} | @endforeach|||
{{$count++}} | {{$property->inventory ? $property->inventory->unit_number : ''}} | {{$property->customer ? $property->customer->name : ''}} | @if($property->dealer) {{$property->dealer ? $property->dealer->name:''}} @endif | {{date('d/m/Y', strtotime($property->booking_date)) }} | {{$property->inventory ? $property->inventory->floor->name : ''}} | {{$property->inventory ? number_format($property->inventory->size->name) : ''}} | {{$property->inventory ? $property->inventory->floor->unit_block->name : ''}} | {{number_format($property->inventory->total_price)}} | @if(($property->inventory->total_price - $property->net_pay) > 0 ) {{ number_format( $property->inventory->total_price - $property->net_pay ) }} @else {{'-'}} @endif | {{number_format($property->net_pay)}} | {{number_format($receivedAmt[$property->id])}} | {{number_format(($property->net_pay - $receivedAmt[$property->id] ) )}} | {{number_format($overDueAmt[$property->id])}} | {{number_format(($property->net_pay - $outStandingAmount[$property->id]) - $overDueAmt[$property->id] )}} | @php foreach ($period as $dt) { $output = '-'; $totalAmount = 0; $de_date = ''; $sumOfDueAmount = array_reduce($dueMonth[$property->id], function ($a, $b) { isset($a[$b['due_date']]) ? $a[$b['due_date']]['due'] += $b['due'] : $a[$b['due_date']] = $b; return $a; }); if(!empty($sumOfDueAmount)) { foreach($sumOfDueAmount as $s) { if ($dt->format("M Y") == date('M Y', strtotime($s['due_date']))) { $output = ' ('.number_format($s['due']).')'; $totalAmount = $s['due']; $de_date = date('M Y', strtotime($s['due_date'])); } } } $totalArray[] = array('date' => $de_date, 'amount' => $totalAmount); echo ''.$output.' | '; } @endphp|||
Sub Total- {{$unit_block->name}} | {{number_format($sqrt)}} | {{number_format($booked_price)}} | {{number_format($discount)}} | {{number_format($net_pay)}} | {{number_format($received)}} | {{number_format($balance_receivables)}} | {{number_format($overdue)}} | {{number_format($future_installments)}} | @foreach ($period as $dt) @php $totalOutput = 0; $grandTotalAmount = 0; $grand_de_date = ''; @endphp @if(!empty($sum) ) @foreach($sum as $month) @if ($dt->format("M Y") == $month['date']) @php $totalOutput = number_format($month['amount']); $grandTotalAmount = $month['amount']; $grand_de_date = $month['date']; @endphp @endif @endforeach @endif @php $grand_total[] = array('date' => $grand_de_date, 'amount' => $grandTotalAmount); @endphp({{$totalOutput}}) | @endforeach|||||||||
Grand Total | {{number_format($grand_total_sqrt)}} | {{number_format($grand_booked_price)}} | {{number_format($grand_discount)}} | {{number_format($grand_net_pay)}} | {{number_format($grand_received)}} | {{number_format($grand_balance_receivables)}} | {{number_format($grand_overdue)}} | {{number_format($grand_future_installments)}} | @foreach ($period as $dt) @php $totalOutput = 0; @endphp @if(!empty($grand_sum) ) @foreach($grand_sum as $month) @if ($dt->format("M Y") == $month['date']) @php $totalOutput = number_format($month['amount']); @endphp @endif @endforeach @endif({{$totalOutput}}) | @endforeach