@extends('admin.layouts.main') @section('title', 'Kelola Lowongan Kerja') @section('content') {{-- Header --}} {{-- Stats --}}
@foreach([ ['Total Lowongan',$stats['total'],'fas fa-briefcase','#dbeafe','#2563eb'], ['Aktif',$stats['active'],'fas fa-check-circle','#dcfce7','#16a34a'], ['Unggulan',$stats['featured'],'fas fa-star','#fef3c7','#d97706'], ['Expiring Soon',$stats['expiring'],'fas fa-clock','#fef2f2','#dc2626'], ] as $s)
{{ $s[1] }}
{{ $s[0] }}
@endforeach
{{-- Filters --}}
{{-- Table --}}
Daftar Lowongan ({{ $jobs->total() }})
@forelse($jobs as $job) @empty @endforelse
# Posisi & Perusahaan Negara Kategori Gaji Kuota Deadline Status Aksi
{{ $loop->iteration }}
{{ Str::limit($job->title, 40) }}
{{ $job->company_name }}
@if($job->is_featured) Unggulan @endif
@if($job->country_code=='MY')πŸ‡²πŸ‡Ύ@elseif($job->country_code=='SG')πŸ‡ΈπŸ‡¬@elseif($job->country_code=='TW')πŸ‡ΉπŸ‡Ό@elseif($job->country_code=='HK')πŸ‡­πŸ‡°@elseif($job->country_code=='JP')πŸ‡―πŸ‡΅@else🌐@endif {{ $job->country }}
{{ $job->category }} {{ $job->salary_range }} {{ $job->quota }}
{{ $job->deadline->format('d M Y') }}
@if($job->days_left <= 7 && $job->days_left > 0) {{ $job->days_left }}h lagi @elseif($job->days_left == 0) Hari ini! @endif
@if($job->is_active) Aktif @else Nonaktif @endif
@csrf
@csrf
@csrf @method('DELETE')
Belum ada lowongan. Tambah sekarang
@if($jobs->hasPages())
{{ $jobs->links() }}
@endif
@endsection