@extends('admin.layouts.app') @section('panel')
@forelse($cancelRequests as $data) @empty @endforelse
@lang('Product/Service') @lang('Reason') @lang('Type') @lang('Cancellation By End') @lang('Status') @lang('Action')
@if($data->service) @permit('admin.order.hosting.details') {{ @$data->service->product->serviceCategory->name }} @else {{ @$data->service->product->serviceCategory->name }} @endpermit @endif
@if($data->service) @{{ $data->service->user->username }} @endif
{{ strLimit($data->reason, 50) }} {{ $data::type()[$data->type] }} @if($data->type == 1) {{ showDateTime($data->created_at) }}
{{ diffForHumans($data->created_at) }} @else {{ showDateTime($data->service->next_due_date) }}
{{ diffForHumans($data->service->next_due_date) }} @endif
@php echo $data->showStatus; @endphp
{{ __($emptyMessage) }}
@if ($cancelRequests->hasPages()) @endif
@endsection @if(!@$user) @push('breadcrumb-plugins') @endpush @endif @push('style') @endpush @push('script') @endpush