@extends('layouts.app') @section('title') Sold Inventory Statement @stop @section('breadcrumb')
@stop @section('css') @stop @section('content') @php $society = false; $highrise = false; $size = ''; if ($projectType->id == App\ProjectType::society) { $society = true; $size = \App\ProjectType::society_size; } if ($projectType->id == App\ProjectType::high_rise) { $highrise = true; $size = \App\ProjectType::high_rise_size; } @endphpSr No. | Date | Unit No. | Unit Floor. | Unit Block. | Customer | Size | Category | Inventory Price | Discount | Net Price |
---|---|---|---|---|---|---|---|---|---|---|
{{$count++}} | {{date('d-m-Y', strtotime($inventory->customer_property->booking_date)) }} | {{$inventory->unit_number}} | {{$inventory->floor ? $inventory->floor->name : ''}} | @if(!empty($inventory->floor)) @if(!empty($inventory->floor->unit_block)) {{$inventory->floor->unit_block->name}} @endif @endif | {{$inventory->customer_property->customer->name}} | @if($inventory->size) {{$inventory->size->name}} {{$size}} @endif | @foreach($inventory->categories as $c) @if($loop->last) {{$c->category->name}} ({{$c->category->percent}} %) @else {{$c->category->name}} ({{$c->category->percent}} %), @endif @endforeach | {{ number_format($inventory->total_price)}} | @if(($inventory->total_price - $inventory->customer_property->net_pay) > 0 ) {{ number_format( $inventory->total_price - $inventory->customer_property->net_pay ) }} @else {{'-'}} @endif | @if($inventory->customer_property){{number_format($inventory->customer_property->net_pay)}} @endif |
{{ $count++ }} | {{ date('d-m-Y', strtotime($inventory->customer_property->booking_date)) }} | {{ $inventory->unit_number }} | {{ $inventory->floor ? $inventory->floor->name : '' }} | @if (!empty($inventory->floor)) @if (!empty($inventory->floor->unit_block)) {{ $inventory->floor->unit_block->name }} @endif @endif | {{ $inventory->customer_property->customer->name }} | @if ($inventory->size) {{ $inventory->size->name }} {{ $size}} @endif | @foreach ($inventory->categories as $c) @if ($loop->last) {{ $c->category->name }} ({{ $c->category->percent }} %) @else {{ $c->category->name }} ({{ $c->category->percent }} %), @endif @endforeach | {{ number_format($inventory->total_price) }} | @if ($inventory->total_price - $inventory->customer_property->net_pay > 0) {{ number_format($inventory->total_price - $inventory->customer_property->net_pay) }} @else {{ '-' }} @endif | @if ($inventory->customer_property) {{ number_format($inventory->customer_property->net_pay) }} @endif |
{{$sqrt}} {{$size}} | {{number_format($inventory_price)}} | {{number_format($discount_price)}} | {{number_format($net_price)}} | |||||||
Sold Inventory Amount | {{number_format($net_price)}} | |||||||||
Received Amount | {{number_format($receivedAmt)}} | |||||||||
Remaining Amount | {{number_format($net_price - $receivedAmt)}} |