$bulkAction->dismissed_at && !$isViewBulkActionPage ]) {{ \Bytexr\QueueableBulkActions\Support\Config::pollingInterval() ? 'wire:poll.' . \Bytexr\QueueableBulkActions\Support\Config::pollingInterval(): '' }} > @php $color = \Bytexr\QueueableBulkActions\Support\Config::color($bulkAction->status); $colorStyles = \Illuminate\Support\Arr::toCssStyles([ \Filament\Support\get_color_css_variables( $color, shades: [200, 700], ), ]); @endphp
@lang('queueable-bulk-actions::notification.bulk_action_status', ['name' => $bulkAction->name, 'status' => $bulkAction->status->getLabel()->lower()])
{{ $processedPercentage }}% @lang('queueable-bulk-actions::notification.complete')
@foreach($groupedRecords as $status => $count) @php $groupColor = \Bytexr\QueueableBulkActions\Support\Config::color($status); $groupColorStyles = \Illuminate\Support\Arr::toCssStyles([ \Filament\Support\get_color_css_variables( $groupColor, shades: [500, 600, 700], ), ]); $status = \Bytexr\QueueableBulkActions\Enums\StatusEnum::from($status); $tooltip = $count . ' ' . $status->getLabel()->lower(); $percentage = round($count / $bulkAction->total_records * 100); @endphp
@endforeach
{{ $bulkAction->status->getLabel() }} {{ match ($bulkAction->status) { \Bytexr\QueueableBulkActions\Enums\StatusEnum::IN_PROGRESS => $bulkAction->started_at->diffForHumans(), \Bytexr\QueueableBulkActions\Enums\StatusEnum::FINISHED => $bulkAction->finished_at->diffForHumans(), \Bytexr\QueueableBulkActions\Enums\StatusEnum::FAILED => $bulkAction->failed_at->diffForHumans(), default => $bulkAction->created_at->diffForHumans() } }} @if(!$isViewBulkActionPage && \Bytexr\QueueableBulkActions\Support\Config::resource()) @lang('queueable-bulk-actions::notification.view_details') @endif
@if(!$isViewBulkActionPage) @endif