@extends('layouts.app') @section('title') Packages List @stop @section('breadcrumb')
@stop @section('content') @php $society = false; $highrise = false; $size = ''; if ($projectType->id == App\ProjectType::society) { $society = true; $size = \App\ProjectType::society_size; } if ($projectType->id == App\ProjectType::high_rise) { $highrise = true; $size = \App\ProjectType::high_rise_size; } @endphpSr. No. | Project Name | Unit Number | Size | Type | Status | Expiry Date | Action | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $count++ }} | {{ $info->inventory ? $info->inventory->multiProject->name : 'None' }} | {{ $info->inventory ? $info->inventory->unit_number : '' }} | {{ $info->inventory ? $info->inventory->size->name : '' }} {{ $size }} | {{ $info->inventory ? $info->inventory->type->name : '' }} | @role('admin') @else @endrole @if($admin) @if($info->inventory ? $info->inventory->status == \App\Inventory::open : '')Open | @elseif($info->inventory ? $info->inventory->status == \App\Inventory::package_open_file : '')Open/Dealer Package File | @elseif($info->inventory ? $info->inventory->status == \App\Inventory::sold : '')Sold | @elseif($info->inventory ? $info->inventory->status == \App\Inventory::hold_client : '')Client Hold | @elseif($info->inventory ? $info->inventory->status == \App\Inventory::hold_company : '')Company Hold | @elseif($info->inventory ? $info->inventory->status == \App\Inventory::token_hold : '')Token Hold | @elseif($info->inventory ? $info->inventory->status == \App\Inventory::temp_hold : '')Temporary Hold | @elseif($info->inventory ? $info->inventory->status == \App\Inventory::package_open_file_refunded : '')Refunded | @else@endif @else @if($info->inventory ? $info->inventory->status == \App\Inventory::open : '') | Open | @elseSold | @endif @endif{{$info->valid_until_date}} | @if($info->endUserForm) @if($info->endUserForm->registration_letter_count > 0){{$info->endUserForm->registration_letter_count}} @endif @if($info->endUserForm->registration_form_count > 0){{$info->endUserForm->registration_form_count}} @endif @else @endif |