@extends('packages/data-synchronize::export') @php $totalItems = 0; $counters = $exporter->getCounters(); foreach ($counters as $counter) { if (str_contains(strtolower($counter->getLabel()), 'total')) { $value = str_replace(',', '', $counter->getValue()); if (is_numeric($value) && $value > $totalItems) { $totalItems = (int) $value; } } } $isLargeExport = $totalItems > 10000; $isMediumExport = $totalItems > 1000 && $totalItems <= 10000; @endphp @push('header') @endpush @section('export_extra_filters_after')
{{ trans('plugins/location::location.export.large_dataset_specific_message', ['count' => number_format($totalItems)]) }}
{{ trans('plugins/location::location.export.medium_dataset_message', ['count' => number_format($totalItems)]) }}