@php( $headerOption = \App\Http\Controllers\Controller::getHeaderOptions( $title ?? '', $subTitle ?? '', isset($filters) ? $filters : [], isset($advancedFilters) ? $advancedFilters : [] ) ) @extends('admin.layouts.layout', $headerOption) @section('content')
{{-- Filter Bar --}}
Reset
{{-- Exceptions DataTable --}}
@forelse($data as $exception) @empty @endforelse
ID Merchant Number Merchant Name Exception Type Description Processor Month/Year Status Created Actions
{{ $exception->id }} {{ $exception->merchant_number ?: 'N/A' }} {{ $exception->merchant_name ?: 'N/A' }} {{ $exceptionTypes[$exception->exception_type] ?? ucfirst(str_replace('_', ' ', $exception->exception_type)) }} {{ \Illuminate\Support\Str::limit($exception->description, 60) }} {{ $exception->processor ?: 'N/A' }} {{ $exception->year_month ?: 'N/A' }} @php($statusInfo = $statuses[$exception->resolution_status] ?? ['name' => 'Unknown', 'badge' => 'secondary']) {{ $statusInfo['name'] }} {{ $exception->created_at ? $exception->created_at->format('m/d/Y') : 'N/A' }} @if($exception->resolution_status == 1) @else {{ $exception->resolvedBy ? $exception->resolvedBy->first_name : '' }} @if($exception->resolved_at) ({{ $exception->resolved_at->format('m/d/Y') }}) @endif @endif
No exceptions found
{{-- Pagination --}} @if(isset($data) && method_exists($data, 'links')) {{ $data->links() }} @endif
@endsection @push('page_script') @endpush