@extends('layouts.app') @section('title') All Balloting Map Files @stop @section('breadcrumb') @stop @section('css') @stop @section('content')
@if ($errors->any())

Errors

    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif @php $total_val= count($allStatements); @endphp

Pre-Condtion Result

All Eligible Inventories

Total Searched Inventories are : {{$total_val}}

Inventories Sizes Found

@foreach($unit_size as $us) @php $specificUnitSizeId= $us->id; $unitSizeCount = $unitSizeIds->filter(function ($value) use ($specificUnitSizeId) { return $value == $specificUnitSizeId; })->count(); @endphp

{{$us->name}} Marla: {{$unitSizeCount}}

@endforeach

Founded Inventories

@csrf @foreach($allStatements as $statement) {{-- @if($statement->status == \App\CustomerProperty::pending) @elseif($statement->status == \App\CustomerProperty::approved) @elseif($statement->status == \App\CustomerProperty::cancel) @elseif($statement->status == \App\CustomerProperty::block) @else @endif --}} @endforeach
# Unit # Size Customer Net Amount Booking Date Action
{{$count++}} {{$statement->inventory ? $statement->inventory->unit_number : '' }} @if($statement->inventory) @if($statement->inventory->size) {{$statement->inventory->size->name}} @if($projectType->id == \App\ProjectType::society) {{ \App\ProjectType::society_size}} @else {{ \App\ProjectType::high_rise_size}} @endif @endif @endif {{$statement->customer ? $statement->customer->name.'---'.$statement->customer->cnic: ''}}
{{number_format($statement->net_pay)}} {{date('d-m-Y', strtotime($statement->booking_date)) }}PendingApprovedCanceledBlock

@stop @section('js') @stop