@extends('layouts.app') @section('title') Inventory Detail @stop @section('breadcrumb') @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;} @endphp

Inventory Information


@role('admin') @if($inventory->status == \App\Inventory::open) @elseif($inventory->status == \App\Inventory::sold) @elseif($inventory->status == \App\Inventory::hold_company) @elseif($inventory->status == \App\Inventory::hold_client) @elseif($inventory->status == \App\Inventory::token_hold) @elseif($inventory->status == \App\Inventory::temp_hold) @elseif($inventory->status == \App\Inventory::package_open_file) @endif @else @if($inventory->status == \App\Inventory::open) @else @endif @endrole @if($inventory->dealer_id) @endif @if($inventory->token_amount) @endif @if($inventory->name) @endif @if($inventory->cnic) @endif @if($inventory->email) @endif @if($inventory->phone_number) @endif
Unit Number {{$inventory->unit_number}} @foreach($inventory->oldNames as $o) @if($loop->first)
Old Numbers :
    @endif
  • {{$o->name}}
  • @endforeach
Project {{$inventory->multiProject?$inventory->multiProject->name:''}}
Pricelist {{$inventory->priceList ? $inventory->priceList->l_no : '' }}
{{$map}} {{$inventory->floor ? $inventory->floor->name : ''}}
Block {{$inventory->floor?$inventory->floor->unitBlock->name:''}}
Type {{$inventory->type ? $inventory->type->name : ''}}
Size {{$inventory->size?$inventory->size->name:''}} {{$size}}
Area {{$inventory->area}}
Total amount {{number_format($inventory->total_price - $inventory->extra_amount)}}
Category @foreach($inventory->categories as $c) @if($loop->last) {{$c->category->name}} @if($c->category->is_percent) ({{$c->category->percent}} %) @else ({{$c->category->percent}} ) @endif @else {{$c->category->name}} @if($c->category->is_percent) ({{$c->category->percent}} %) @else ({{$c->category->percent}} ) @endif, @endif @endforeach
Extra Charges {{number_format($inventory->extra_amount)}}
Net Amount {{number_format($inventory->total_price)}}
Description {{$inventory->description}}
Status OpenSoldCompany HoldClient HoldToken HoldTemporary HoldOpen/Dealer Package FileStatus OpenSold
Dealer @if($inventory->dealer_id) {{$inventory->dealer->name}} @endif
Token Amount {{$inventory->token_amount}}
Name {{$inventory->name}}
Cnic {{$inventory->cnic}}
Email {{$inventory->email}}
Phone Number {{$inventory->phone_number}}
@stop