@php( $headerOption = \App\Http\Controllers\Controller::getHeaderOptions( $title ?? '', $subTitle ?? '', isset($filters) ? $filters : [], isset($advancedFilters) ? $advancedFilters : [] ) ) @php($headingOptions = [ '
'. ((request()->has('search_text') && request()->input('search_text')) ? '' : '') .'
', \App\Helpers\Helper::configureColumnFilter('MyMerchantController', 'index'), '
' .'' .'
' .'' .'' .'
' .'
' ]) @php($mainHeadingOptions = [ '', ]) @extends('admin.layouts.layout', $headerOption) @section('content') {{-- Phase 2 GAP-3.1: Date Range Label --}} @if(!empty($dateRangeLabel)) {{ $dateRangeLabel }} @endif {{-- Phase 2 GAP-3.17: Date Range Filter Bar --}}
@if(($selectedDateRange??'') === 'custom')
to
@endif {{-- Phase 2 GAP-3.5/3.9: Showing N Merchants counter --}} Showing {{ $data->count() }} of {{ $data->total() }} merchants

Totals by Card Type

@if(isset($cardTypesSummery) && count($cardTypesSummery) > 0) @foreach($cardTypesSummery as $index => $cardTypeData ) {{-- Phase 2 GAP-3.3: Card brand logos --}} @endforeach @else @endif
Card Type Total Transactions
{{-- Phase 2 GAP-3.2: Bootstrap form-switch --}}
{!! \App\Helpers\Helper::cardImgTag($cardTypeData->card_type, 'img-fluid me-1', 'height:22px') !!} {{ strtoupper($cardTypeData->card_type) }} ${{ number_format($cardTypeData->total_amount, 2) }} {{ number_format($cardTypeData->total_count) }}
Total ${{ isset($cardTypesSummery) ? number_format(collect($cardTypesSummery)->sum('total_amount'), 2) : '0.00' }} {{ isset($cardTypesSummery) ? number_format(collect($cardTypesSummery)->sum('total_count')) : '0' }}
No data available

Portfolio Breakdown

@php( $portfolioBreakdown = $portfolioBreakdown ?? [ 'processing' => 0, 'not_processing' => 0, 'closed' => 0, ] )
@if(isset($portfolioBreakdown) && ($portfolioBreakdown['processing'] + $portfolioBreakdown['closed']) == 0)
No data available for portfolio breakdown.
@else
  • Processing ({{ $portfolioBreakdown['processing'] }})
    {{-- Phase 2 GAP-3.2: Bootstrap form-switch --}}
  • {{-- Phase 2 GAP-3.6: Not Processing segment (uncommented) --}}
  • Not Processing ({{ $portfolioBreakdown['not_processing'] ?? 0 }})
  • Closed ({{ $portfolioBreakdown['closed'] }})
@endif
@include('admin.components.form-header-fields') @include('admin.components.form-data-fields')
@include('admin.components.pagination-inner')
@endsection @push('page_script') @endpush