@extends('layouts.app') @section('title') All Cancel Units @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; } @endphp# | Project | Package Name | Unit # | Dealer Name | Dealer Code | {{--Net Amount | --}} {{--Received Amount | --}}Cancel Date | Cancel Fee(pkr) | Request Status | Open File Status | After Cancellation Decision Request |
|
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $count++ }} | {{ $openfile->inventory->multiProject ? $openfile->inventory->multiProject->name : '' }} | @if ($openfile->dealerPackage) dealerPackage->id) }}'> {{ $openfile->dealerPackage->package ? $openfile->dealerPackage->package->name : '' }} @endif | {{ $openfile->inventory->unit_number }} | {{ $openfile->dealer->name }} | {{ $openfile->dealer->code }} | {{ date('d-m-Y', strtotime($openfile->cancelOpenFile->created_at)) }} | {{ $openfile->cancelOpenFile->fee }} | @if ($openfile->cancelOpenFile->status == 0)Pending | @elseif($openfile->cancelOpenFile->status == 1)Approved | @else@endif @role('admin') @else @endrole @if ($admin) @if ($openfile->inventory->status == \App\Inventory::open) | Open | @elseif($openfile->inventory->status == \App\Inventory::package_open_file)Open/Dealer Package File | @elseif($openfile->inventory->status == \App\Inventory::sold)Sold | @elseif($openfile->inventory->status == \App\Inventory::hold_client)Client Hold | @elseif($openfile->inventory->status == \App\Inventory::hold_company)Company Hold | @elseif($openfile->inventory->status == \App\Inventory::package_open_file_refunded)Open/Dealer Package Refunded | @elseif($openfile->inventory->status == \App\Inventory::token_hold)Token Hold | @else@endif @else @if ($openfile->inventory->status == \App\Inventory::open) | Open | @elseSold | @endif @endif @if ($openfile->cancelOpenFile->after_cancellation_status == 'pending')Pending | @elseif($openfile->cancelOpenFile->after_cancellation_status == 'adjust-pending')Adjust/Pending | @elseif($openfile->cancelOpenFile->after_cancellation_status == 'refund-pending')Refund/Pending | @elseif($openfile->cancelOpenFile->after_cancellation_status == 'adjusted')Adjusted | @elseif($openfile->cancelOpenFile->after_cancellation_status == 'refunded')Refunded | @elseif($openfile->cancelOpenFile->after_cancellation_status == 'decline')Decline | @elseif($openfile->cancelOpenFile->after_cancellation_status == 'swap-pending')Swap/Pending | @endif
|