@extends('layouts.app') @section('title') Inventory Detail @stop @section('breadcrumb') @stop @section('content')

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) @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
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 OpenSoldCompany HoldClient HoldToken HoldTemporary HoldStatus 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