@extends('layouts.app') @section('title') Inventory Detail @stop @section('breadcrumb')
@stop @section('content')Unit Number | {{$inventory->unit_number}}
@foreach($inventory->oldNames as $o)
@if($loop->first)
Old Numbers :
|
||||||||
Floor | {{$inventory->floor ? $inventory->floor->name : ''}} | ||||||||
Block | {{$inventory->floor->unitBlock->name}} | ||||||||
Type | {{$inventory->type ? $inventory->type->name : ''}} | ||||||||
Size | {{$inventory->size->name}} {{env('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 | @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}} |