@extends('layouts.app') @section('title') Sold Inventory Statement @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

{{env('APP_NAME')}}

Sold Inventory Statement

{{date(('d/m/Y'),strtotime($from_date))}} - {{date(('d/m/Y'),strtotime($to_date))}}
Date: {{date('d/m/Y')}}
User ID:   {{Auth::user()->name}}
@if($type == 'with_filter')
{{ csrf_field() }}
@endif @foreach($unit_blocks as $unit_block) @foreach($inventories as $inventory) @if($unit_block->id == $inventory->floor->unit_block_id) @if( ($filter_type == 'filter' && $block > 0 && $block == $inventory->floor->unit_block_id ) || $filter_type == 'all' ) @endif @endif @endforeach @endforeach
Sr No. Date Unit No. Unit Floor. Unit Block. Customer Size Category Inventory Price Discount Net Price
{{$unit_block->name}}
{{$count++}} {{date('d/m/Y', strtotime($inventory->customer_property->booking_date)) }} {{$inventory->unit_number}} {{$inventory->floor ? $inventory->floor->name : ''}} {{$inventory->floor ? \App\UnitBlock::find($inventory->floor->unit_block_id)->name : ''}} {{$inventory->customer_property->customer->name}} {{$inventory->size->name}} {{env('SIZE')}} @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
Sub-Total {{$sqrt_size}} {{env('SIZE')}} {{number_format($block_ivn_total)}} {{number_format($block_dis_total)}} {{number_format($block_net_total)}}
GRAND TOTAL {{$sqrt}} {{env('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)}}
@stop @section('js') @stop