@php( $headerOption = \App\Http\Controllers\Controller::getHeaderOptions( $title ?? 'Residuals', $subTitle ?? 'Residual Details', isset($filters) ? $filters : [], isset($advancedFilters) ? $advancedFilters : [] ) ) @extends('admin.layouts.layout', $headerOption) @section('content')
{{-- Breadcrumb --}} @if(isset($breadcrumb) && is_array($breadcrumb)) @endif @if($data)
{{-- Left Column: Key-Value Pairs --}}
Record Information
Merchant Name {{ $data->merchant_name ?: 'N/A' }}
Merchant Number {{ $data->merchant_number ?: 'N/A' }}
Processor {{ $data->processor ?: 'N/A' }}
Period {{ $data->year_month ?: 'N/A' }}
Sheet Name {{ $data->sheet_name ?: 'N/A' }}
Association Number {{ $data->association_number ?: 'N/A' }}
Association Name {{ $data->association_name ?: 'N/A' }}
Sales Rep Number {{ $data->sales_rep_number ?: 'N/A' }}
Sales Rep Name {{ $data->sales_rep_name ?: 'N/A' }}
DBA Name {{ $data->dba_name ?: 'N/A' }}
DBA City {{ $data->dba_city ?: 'N/A' }}
DBA State {{ $data->dba_state ?: 'N/A' }}
Approval Date {{ $data->approval_date ?: 'N/A' }}
Group {{ $data->group_name ?: 'N/A' }}
Account Status @if($data->is_inactive) Inactive @else Active @endif
{{-- Right Column: Financial Summary --}}
Financial Summary
Sales Amount ${{ number_format($data->sales_amount ?? 0, 2) }}
Income ${{ number_format($data->income ?? 0, 2) }}
Expense ${{ number_format($data->expense ?? 0, 2) }}
Net ${{ number_format($data->net ?? 0, 2) }}
BPS {{ number_format($data->bps ?? 0, 2) }}%
Split Percentage {{ number_format($data->split_percentage ?? 0, 2) }}%
Agent Net ${{ number_format($data->agent_net ?? 0, 2) }}
Transaction Count {{ number_format($data->txn_count ?? 0) }}
Processing Volume ${{ number_format($data->processing_volume ?? 0, 2) }}
@else
Residual record not found.
@endif {{-- Back Button --}}
Back to Residuals
@endsection