@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;} @endphpUnit Number | {{$inventory->unit_number}}
@foreach($inventory->oldNames as $o)
@if($loop->first)
Old Numbers :
|
|||||||||
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 | @if($inventory->status == \App\Inventory::open)Open | @elseif($inventory->status == \App\Inventory::sold)Sold | @elseif($inventory->status == \App\Inventory::hold_company)Company Hold | @elseif($inventory->status == \App\Inventory::hold_client)Client Hold | @elseif($inventory->status == \App\Inventory::token_hold)Token Hold | @elseif($inventory->status == \App\Inventory::temp_hold)Temporary Hold | @elseif($inventory->status == \App\Inventory::package_open_file)Open/Dealer Package File | @endif @elseStatus | @if($inventory->status == \App\Inventory::open)Open | @elseSold | @endif @endrole
Dealer | @if($inventory->dealer_id) {{$inventory->dealer->name}} @endif | |||||||||
Token Amount | {{$inventory->token_amount}} | |||||||||
Name | {{$inventory->name}} | |||||||||
Cnic | {{$inventory->cnic}} | |||||||||
{{$inventory->email}} | ||||||||||
Phone Number | {{$inventory->phone_number}} |