@extends('layouts.app') @section('title') All Inventories @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; } @endphpSr # | Project | Unit # | Size | Net Amount | Status | Action | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $count++ }} | {{ $i->multiProject ? $i->multiProject->name : 'None' }} | @permission('view-inventory') {{ $i->unit_number }} @else {{ $i->unit_number }} @endpermission | {{ $i->size ? $i->size->name : '' }} {{ $size }} | {{ number_format($i->total_price) }} | @if ($admin) @if ($i->status == \App\Inventory::open)Open | @elseif($i->status == \App\Inventory::package_open_file)Open/Dealer Package File | @elseif($i->status == \App\Inventory::package_open_file_refunded)Open/Dealer Package Refunded | @elseif($i->status == \App\Inventory::sold)Sold | @elseif($i->status == \App\Inventory::hold_client)Client Hold | @elseif($i->status == \App\Inventory::hold_company)Company Hold | @elseif($i->status == \App\Inventory::token_hold)Token Hold | @elseif($i->status == \App\Inventory::temp_hold)Temporary Hold | @else@endif @else @if ($i->status == \App\Inventory::open) | Open | @elseSold | @endif @endif@if ($view_inventory) @endif @if($i->status != \App\Inventory::package_open_file) @if ($edit_inventory) @endif @endif {{-- @if ($edit_inventory) @endif --}} @if ($delete_inventory) @endif |