@extends('layouts.app') @section('title') All Refund Units @stop @section('breadcrumb') @stop @section('css') @stop @section('content')
@can('isSuperAdmin') @include('partial.multiproject_select') @endcan

Refund Units

Refunded Units

@permission('view-cancellation') @else @endpermission @permission('edit-refund') @else @endpermission @foreach ($allStatementsRefunded as $statementrefunded) @if ($statementrefunded->cancelProperty->after_cancellation_status == 'pending') @elseif($statementrefunded->cancelProperty->after_cancellation_status == 'adjust-pending') @elseif($statementrefunded->cancelProperty->after_cancellation_status == 'refund-pending') @elseif($statementrefunded->cancelProperty->after_cancellation_status == 'adjusted') @elseif($statementrefunded->cancelProperty->after_cancellation_status == 'refunded') @endif @endforeach
# Project Unit # Member Name Received Amount Total Refund Total Deduction Total Deduction Percentage Status Action
{{ $count++ }} {{ $statementrefunded->multiProject ? $statementrefunded->multiProject->name : ' ' }} {{ $statementrefunded->inventory->unit_number }} {{ $statementrefunded->customer ? $statementrefunded->customer->name : '' }}
Dealer: {{ $statementrefunded->dealer ? $statementrefunded->dealer->name : '' }}
{{ number_format($statementrefunded->unitRefundHistory->total_amount) }} {{ number_format($statementrefunded->unitRefundHistory->total_refund) }} {{ number_format($statementrefunded->unitRefundHistory->total_deduct) }} {{ round($statementrefunded->unitRefundHistory->total_deduct_percentage, 3) }} %Pending Adjust/Pending Refund/Pending Adjusted Refunded
@if ($view_membership)    @endif @if ($edit_refund && $statementrefunded->cancelProperty->after_cancellation_status == 'pending')    @endif
{{ $allStatementsRefunded->links() }}
@if ($projectType->id == \App\ProjectType::society)

Refunded Units

@permission('view-cancellation') @else @endpermission @permission('edit-refund') @else @endpermission @foreach ($OpenFileDealerInfo_approved_refund as $openrefunded) @if ($openrefunded->cancelOpenFile->after_cancellation_status == 'pending') @elseif($openrefunded->cancelOpenFile->after_cancellation_status == 'adjust-pending') @elseif($openrefunded->cancelOpenFile->after_cancellation_status == 'refund-pending') @elseif($openrefunded->cancelOpenFile->after_cancellation_status == 'adjusted') @elseif($openrefunded->cancelOpenFile->after_cancellation_status == 'refunded') @endif @endforeach
# Project Unit # Dealer Name Received Amount Total Refund Total Deduction Total Deduction Percentage Status
{{ $count++ }} {{ $openrefunded->inventory->multiProject ? $openrefunded->inventory->multiProject->name : ''}} {{ $openrefunded->inventory->unit_number }} {{ $openrefunded->dealer->code }} {{ $openrefunded->dealer->name }} {{ number_format($openrefunded->cancelOpenFile->openFileRefunded->total_amount) }} {{ number_format($openrefunded->cancelOpenFile->openFileRefunded->total_refund) }} {{ number_format($openrefunded->cancelOpenFile->openFileRefunded->total_deduct) }} {{ round($openrefunded->cancelOpenFile->openFileRefunded->total_deduct_percentage, 3) }} %Pending Adjust/Pending Refund/Pending Adjusted Refunded
{{ $OpenFileDealerInfo_approved_refund->links() }}

Pending Refunds Units

@permission('approve-cancellation') @else @endpermission @permission('view-cancellation') @else @endpermission @permission('edit-cancellation') @else @endpermission @permission('delete-cancellation') @else @endpermission @foreach ($OpenFileDealerInfo_pending_refund 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::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 Code Cancel 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->name }} @endif {{ $openfile->inventory->unit_number }} {{ $openfile->dealer->name }} {{ $openfile->dealer->code }} {{ date('d-m-Y', strtotime($openfile->cancelOpenFile->created_at)) }} {{ $openfile->cancelOpenFile->fee }} Pending ApprovedOpenOpen/Dealer Package FileSoldClient HoldCompany HoldToken Hold OpenSoldPending Adjust/Pending Refund/Pending AdjustedRefundedDecline Swap/Pending @if ($edit_refund)    @endif

Decline Refunds Units

{{-- --}} {{-- --}} @permission('view-cancellation') @else @endpermission @permission('edit-refund') @else @endpermission @foreach ($allStatementsdecline as $statementdecline) {{-- --}} {{-- --}} @if ($statementdecline->cancelProperty->status == 0) @elseif($statementdecline->cancelProperty->status == 1) @else @endif @if ($statementdecline->status == \App\CustomerProperty::pending) @elseif($statementdecline->status == \App\CustomerProperty::approved) @elseif($statementdecline->status == \App\CustomerProperty::cancel) @else @endif @if ($statementdecline->cancelProperty->after_cancellation_status == 'pending') @elseif($statementdecline->cancelProperty->after_cancellation_status == 'adjust-pending') @elseif($statementdecline->cancelProperty->after_cancellation_status == 'refund-pending') @elseif($statementdecline->cancelProperty->after_cancellation_status == 'adjusted') @elseif($statementdecline->cancelProperty->after_cancellation_status == 'refunded') @elseif($statementdecline->cancelProperty->after_cancellation_status == 'decline') @endif @endforeach
# Project Unit #SizeMember Name Net AmountBooking DateCancel Date Cancel Fee(pkr) Request Status Unit Status After Cancellation Decision Request Action
{{ $count++ }} {{ $statementdecline->inventory->multiProject->name }} {{ $statementdecline->inventory->unit_number }} @if ($statement->inventory) @if ($statement->inventory->size) {{ $statement->inventory->size->name }} {{ env('SIZE') }} @endif @endif {{ $statementdecline->customer ? $statementdecline->customer->name : '' }}
Dealer: {{ $statementdecline->dealer ? $statementdecline->dealer->name : '' }}
{{ number_format($statementdecline->net_pay) }} {{ date('d-m-Y', strtotime($statement->booking_date)) }}{{ date('d-m-Y', strtotime($statementdecline->cancel_date)) }} {{ $statementdecline->cancelProperty->fee }} Pending Approved Pending Approved Canceled Pending Adjust/Pending Refund/Pending Adjusted Refunded Decline
@if ($view_membership)    @endif @if ($edit_refund)    @endif
{{ $allStatementsdecline->links() }}
@endif
@stop @section('js') @stop