@extends('layouts.app') @section('title') Inventory Status Sheet @stop @section('breadcrumb')
@stop @section('css') @stop @section('content') @php $size = ''; if ($projectType->id == \App\ProjectType::society) { $size = \App\ProjectType::society_size; } else { $size = \App\ProjectType::high_rise_size; } @endphp @php $map = ' '; if ($projectType->id == \App\ProjectType::society) { $map = \App\ProjectType::society_map; } else { $map = \App\ProjectType::high_rise_map; } @endphpInventory count {{ $openInventoryCount }}
Inventory Value: {{ number_format($openInventoryAmount) }}
Color:
Inventory count {{ $tokenHoldInventoryCount }}
Inventory Value: {{ number_format($tokenHoldInventoryAmount) }}
Color:
Inventory count {{ $tempHoldInventoryCount }}
Inventory Value: {{ number_format($tempHoldInventoryAmount) }}
Color:
Inventory count {{ $companyHoldInventoryCount }}
Inventory Value: {{ number_format($companyHoldInventoryAmount) }}
Color:
Inventory count {{ $soldInventoryCount }}
Inventory Value: {{ number_format($soldInventoryAmount) }}
Color:
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::sold)
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::token_hold)
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::temp_hold)
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::hold_company)
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@endif
@else
|
{{ $i->floor ? $i->floor->name : '' }} -
{{ $i->floor->unitBlock ? $i->floor->unitBlock->name : '' }} @if (isset($floorSqft[$i->unit_floor_id]) && isset($floorValue[$i->unit_floor_id])) {{ $floorSqft[$i->unit_floor_id] }} {{ $size }} , Rs.{{ number_format($floorValue[$i->unit_floor_id]) }} @endif @if (isset($floorSoldPer[$i->unit_floor_id]) && isset($floorSoldPer[$i->unit_floor_id])) Availability : {{ 100 - $floorSoldPer[$i->unit_floor_id] }} % Sold : {{ $floorSoldPer[$i->unit_floor_id] }} % @endif |
@if ($i->status == \App\Inventory::open || $i->status == \App\Inventory::package_open_file)
@foreach ($i->categories as $ca)
@if ($loop->last)
@if (isset($categoryIcon[$ca->unit_category_id]))
@endif @else @if (isset($categoryIcon[$ca->unit_category_id])) @endif @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::sold)
@foreach ($i->categories as $ca)
@if ($loop->last)
@if (isset($categoryIcon[$ca->unit_category_id]))
@endif @else @if (isset($categoryIcon[$ca->unit_category_id])) @endif @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::token_hold)
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::temp_hold)
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@elseif($i->status == \App\Inventory::hold_company)
@foreach ($i->categories as $ca)
@if ($loop->last)
@else @endif @endforeach {{ $i->unit_number }} |
@endif
@endif
@endforeach