@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @push('css') @endpush @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'Resend Gmail'])
List {{ $title_menu }}
@include('components.alert')

Failed Queue: {{ $failed_queue_count ?? 0 }} | Pending Approval: {{ $pending_case_count ?? 0 }} | Bypassed by IT: {{ $bypassed_count ?? 0 }}
@foreach($records as $i => $row) @php $rowKey = (string) ($row->row_key ?? ''); $isSent = in_array($rowKey, (array) ($sent_row_keys ?? []), true); $isBypassed = ($row->case_type ?? '') === 'Bypassed'; @endphp @endforeach
Pilih No Status Case ID Sample Approver Email Waktu Case Error Action
{{ $i + 1 }} @if($isBypassed) Sent @elseif($isSent) Sent @else Unsent @endif @if($isBypassed) Bypassed @elseif(($row->case_type ?? '-') === 'Failed Queue') Failed Queue @else {{ $row->case_type ?? '-' }} @endif {{ $row->sample_id ?? '-' }} {{ $row->approver_name ?? '-' }} {{ $row->approver_email ?? '-' }} {{ $row->case_time ?? '-' }} {{ $row->error_short ?? '-' }} @if($isBypassed) @elseif(($row->case_type ?? '') === 'Pending') @if(session('users_rules') === 'admins')
@else Pending Approval @endif @else - @endif
@push('js') @endpush @endsection