@php $headerOption = \App\Http\Controllers\Controller::getHeaderOptions( $title ?? 'Residuals', $subTitle ?? 'Import Residuals', isset($filters) ? $filters : [], isset($advancedFilters) ? $advancedFilters : [] ); @endphp @extends('admin.layouts.layout', $headerOption) @section('content')
Drag and drop residual report here to upload, or
The columns in do not match the saved mapping for .
If a different Processor should be selected, press Go Back.
To see the existing mappings, press View Mappings.
If this is a new residuals report, or there are updated columns in your file, press Create New Mapping.
| ID | Filename | Date | Processor | Size | Uploaded | By | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ $pf->id }} |
{{ $pf->file_name }}
@if($pf->import_status == \App\Models\Residuals\ResidualReport::IMPORT_PROCESSING)
|
{{ $pf->year_month ? \Carbon\Carbon::createFromFormat('Y-m', $pf->year_month)->format('M Y') : '-' }} | {{ $pf->processor ?: '-' }} | {{ $pf->file_size ? number_format($pf->file_size / 1024, 2) . ' KB' : '-' }} | {{ $pf->created_at ? $pf->created_at->format('m/d/Y g:ia') : '-' }} | {{ $pf->user ? ($pf->user->first_name . ' ' . $pf->user->last_name) : '-' }} | @php $is = \App\Models\Residuals\ResidualReport::$importStatuses[$pf->import_status] ?? null; @endphp @if($is) {{ $is['name'] }} @else Unknown @endif | View |
| ID # | Rows | Added | Rej | DA | Date | Processor | SysPrt | Created | Status | Actions | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $report->id }} | {{ number_format($report->total_rows ?? 0) }} | {{ number_format($report->imported_count ?? 0) }} | {{ number_format($report->rejected_count ?? 0) }} | {{ $report->da_count ?? '-' }} | {{ $report->year_month ?? '-' }} | {{ $report->processor ?? '-' }} | {{ $report->sys_prt ?? '-' }} |
@if($report->user)
{{ $report->user->first_name ?? '' }} {{ $report->user->last_name ?? '' }} @endif {{ $report->created_at ? $report->created_at->format('m/d/Y h:i A') : '-' }} |
@if($report->status == 2) Published @else Unpublished @endif |
|
|
| No imported reports found | |||||||||||
| Mapping Name | Processor | Modified | Action |
|---|---|---|---|
| {{ $mapping->name }} | {{ $mapping->processor }} |
{{ $mapping->updated_at ? $mapping->updated_at->format('m/d/Y h:i A') : '-' }}
@if($mapping->createdBy)
{{ $mapping->createdBy->first_name ?? '' }} {{ $mapping->createdBy->last_name ?? '' }} @endif |
|
| No mappings found | |||
| Fee Name | Fee Type | Fee Value | Applies To | Processor | Actions |
|---|---|---|---|---|---|
| {{ $fee->fee_name }} | {{ ucfirst(str_replace('_', ' ', $fee->fee_type)) }} | @if($fee->fee_type === 'percentage') {{ number_format($fee->fee_value, 2) }}% @else ${{ number_format($fee->fee_value, 2) }} @endif | {{ ucfirst($fee->applies_to ?? 'All') }} | {{ $fee->processor ?? 'All' }} |
|
| No custom fees found | |||||