@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')

Totals by Card Type

@if(isset($cardTypesSummery) && count($cardTypesSummery) > 0) @foreach($cardTypesSummery as $index => $cardTypeData ) @endforeach @else @endif
Card Type Total Transactions
{{ $cardTypeData->card_type }} ${{ $cardTypeData->total_amount }} {{ $cardTypeData->total_count }}
Total ${{ isset($cardTypesSummery) ? number_format(collect($cardTypesSummery)->sum('total_amount'), 2) : '0.00' }} {{ isset($cardTypesSummery) ? collect($cardTypesSummery)->sum('total_count') : '0' }}
No data available

Portfolio Breakdown

@php( $portfolioBreakdown = $portfolioBreakdown ?? [ 'processing' => $processingCount ?? 1, 'not_processing' => $notProcessingCount ?? 2, 'closed' => $closedCount ?? 3, ] )
@if(isset($portfolioBreakdown) && ($portfolioBreakdown['processing'] + $portfolioBreakdown['closed']) == 0)
No data available for portfolio breakdown.
@else
  • Processing ({{ $portfolioBreakdown['processing'] }})
  • 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