@extends('layouts.app') @section('title') Sold Inventory Statement    {{date(('M d,Y'),strtotime($from_date))}} - {{date(('M d,Y'),strtotime($to_date))}} @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

{{env('APP_NAME')}}

Sold Inventory Statement

{{date(('M d,Y'),strtotime($from_date))}} - {{date(('M d,Y'),strtotime($to_date))}}
Date: {{date('d-m-Y')}}
User ID:   {{Auth::user()->name}}
@if($type == 'with_filter')
{{ csrf_field() }}
@endif @foreach($inventories as $inventory) @if( ($filter_type == 'filter' && $block > 0 && $block == $inventory->floor->unitBlock->id) || $filter_type == 'all' ) @endif @endforeach
Sr No. Date Unit No. Unit Floor. Unit Block. Customer Size Category Inventory Price Discount Net Price
{{$count++}} {{date('d-m-Y', strtotime($inventory->property->booking_date)) }} {{$inventory->unit_number}} {{$inventory->floor ? $inventory->floor->name : ''}} {{$inventory->floor ? $inventory->floor->unitBlock->name : ''}} {{$inventory->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)}} {{ number_format($inventory->property->discount )}} @if($inventory->property){{number_format($inventory->property->net_pay)}} @endif
{{$sqrt}} {{env('SIZE')}} {{number_format($inventory_price)}} {{number_format($discount_price)}} {{number_format($net_price)}}
Sold Inventory Amount {{number_format($totalAmt)}}
Received Amount {{number_format($receivedAmt)}}
Remaining Amount {{number_format($totalAmt - $receivedAmt)}}
@stop @section('js') @stop