@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
@can('isSuperAdmin') @include('partial.multiproject_select') @endcan
@permission('create-cancellation')   Apply For Cancellation @endpermission

Cancel Units

{{-- --}} {{-- --}} @permission('approve-cancellation') @else @endpermission @permission('view-cancellation') @else @endpermission @permission('edit-cancellation') @else @endpermission @permission('delete-cancellation') @else @endpermission @foreach ($allStatements as $statement) {{-- --}} {{-- --}} @if ($statement->cancelProperty->status == 0) @elseif($statement->cancelProperty->status == 1) @else @endif @if ($statement->status == \App\CustomerProperty::pending) @elseif($statement->status == \App\CustomerProperty::approved) @elseif($statement->status == \App\CustomerProperty::cancel) @else @endif @if ($statement->cancelProperty->after_cancellation_status == 'pending') @elseif($statement->cancelProperty->after_cancellation_status == 'adjust-pending') @elseif($statement->cancelProperty->after_cancellation_status == 'refund-pending') @elseif($statement->cancelProperty->after_cancellation_status == 'adjusted') @elseif($statement->cancelProperty->after_cancellation_status == 'refunded') @elseif($statement->cancelProperty->after_cancellation_status == 'decline') @endif @endforeach
# Project Unit #SizeMember Name Net Amount Received AmountBooking DateCancel Date Cancel Fee(pkr) Request Status Unit Status After Cancellation Decision Request Action
{{ $count++ }} {{ $statement->multiProject ? $statement->multiProject->name : ' ' }} {{ $statement->inventory->unit_number }} @if ($statement->inventory) @if ($statement->inventory->size) {{ $statement->inventory->size->name }} {{ env('SIZE') }} @endif @endif {{ $statement->customer ? $statement->customer->name : '' }}
Dealer: {{ $statement->dealer ? $statement->dealer->name : '' }}
{{ number_format($statement->net_pay) }} {{ number_format($receivedAmt[$statement->id]) }}{{ date('d-m-Y', strtotime($statement->booking_date)) }} @if (empty($statement->cancel_date)) {{ date('d-m-Y', strtotime($statement->cancelProperty->created_at)) }} @else {{ date('d-m-Y', strtotime($statement->cancel_date)) }} @endif {{ $statement->cancelProperty->fee }} PendingApprovedPendingApprovedCanceledPendingAdjust/PendingRefund/PendingAdjustedRefundedDecline
@if ($view_membership)    @endif @if ( $edit_membership && $statement->cancelProperty->after_cancellation_status != 'adjusted' && $statement->cancelProperty->after_cancellation_status != 'refunded' && $statement->cancelProperty->after_cancellation_status != 'decline')    @endif @if ( $reopen_membership && $statement->cancelProperty->status == 1 && $statement->cancelProperty->after_cancellation_status == 'pending')    @endif @if ($delete_membership && $statement->cancelProperty->status == 0 && empty($statement->cancelProperty)) {{--
{!! method_field('delete') !!} {!! csrf_field() !!}
--}}
{!! method_field('delete') !!} {!! csrf_field() !!}
@endif
{{ $allStatements->links() }}
@if ($projectType->id == \App\ProjectType::society)
{{-- --}} {{-- --}} @permission('approve-cancellation') @else @endpermission @permission('view-cancellation') @else @endpermission @permission('edit-cancellation') @else @endpermission @permission('delete-cancellation') @else @endpermission @foreach ($allopenfile as $openfile) @if ($openfile->cancelOpenFile->status == 0) @elseif($openfile->cancelOpenFile->status == 1) @else @endif @role('admin') @else @endrole @if ($admin) @if ($openfile->inventory->status == \App\Inventory::open) @elseif($openfile->inventory->status == \App\Inventory::package_open_file) @elseif($openfile->inventory->status == \App\Inventory::sold) @elseif($openfile->inventory->status == \App\Inventory::hold_client) @elseif($openfile->inventory->status == \App\Inventory::hold_company) @elseif($openfile->inventory->status == \App\Inventory::package_open_file_refunded) @elseif($openfile->inventory->status == \App\Inventory::token_hold) @else @endif @else @if ($openfile->inventory->status == \App\Inventory::open) @else @endif @endif @if ($openfile->cancelOpenFile->after_cancellation_status == 'pending') @elseif($openfile->cancelOpenFile->after_cancellation_status == 'adjust-pending') @elseif($openfile->cancelOpenFile->after_cancellation_status == 'refund-pending') @elseif($openfile->cancelOpenFile->after_cancellation_status == 'adjusted') @elseif($openfile->cancelOpenFile->after_cancellation_status == 'refunded') @elseif($openfile->cancelOpenFile->after_cancellation_status == 'decline') @elseif($openfile->cancelOpenFile->after_cancellation_status == 'swap-pending') @endif @endforeach
# Project Package Name Unit # Dealer Name Dealer CodeNet AmountReceived AmountCancel Date Cancel Fee(pkr) Request Status Open File Status After Cancellation Decision Request
Action
{{ $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 }} PendingApprovedOpenOpen/Dealer Package FileSoldClient HoldCompany HoldOpen/Dealer Package Refunded Token HoldOpenSoldPendingAdjust/PendingRefund/PendingAdjustedRefundedDeclineSwap/Pending
{{-- @if ($view_membership)    @endif --}} @if ( $edit_membership && $openfile->cancelOpenFile->after_cancellation_status != 'adjusted' && $openfile->cancelOpenFile->after_cancellation_status != 'refunded' && $openfile->cancelOpenFile->after_cancellation_status != 'decline')    @endif @if ( $reopen_membership && $openfile->cancelOpenFile->status == 1 && $openfile->cancelOpenFile->after_cancellation_status == 'pending')    @endif @if ($delete_membership && $openfile->cancelOpenFile->status == 0 && empty($openfile->cancelOpenFile))
{!! method_field('delete') !!} {!! csrf_field() !!}
@endif
{{ $allStatements->links() }}
@endif
@stop @section('js') {{-- --}} {{-- --}} @stop