feat: implement quick approval dashboard for intern reports with filtered views and modal navigation

This commit is contained in:
Ümit Tunç
2026-07-17 21:40:09 +03:00
parent 161d1c86bc
commit e172afb3ac
9 changed files with 1491 additions and 0 deletions
@@ -23,6 +23,14 @@
<i class="uil uil-list-ul text-lg"></i>
<span>Stajyer Listesi ve Detaylı Takip</span>
</button>
<button type="button" role="tab" aria-selected="false" data-tab-target="quick-approval" class="admin-tab-btn flex-1 flex items-center justify-center gap-3 py-4 px-6 rounded-2xl text-center font-bold text-sm transition-all border border-transparent text-slate-600 hover:bg-slate-50 cursor-pointer relative">
<i class="uil uil-check-square text-lg"></i>
<span>Hızlı Defter Onaylama</span>
<span id="quick-approval-badge" class="{{ $unapprovedCount > 0 ? '' : 'hidden' }} absolute -top-1 -right-1 flex h-5 min-w-[20px] items-center justify-center rounded-full bg-rose-500 px-1.5 text-[10px] font-black text-white ring-2 ring-white shadow-md">
{{ $unapprovedCount }}
</span>
</button>
</div>
</div>
@@ -35,6 +43,10 @@
@include('front.career.partials.list')
</div>
<div id="quick-approval-panel" class="admin-tab-panel hidden space-y-6">
@include('front.career.partials.quick_approval')
</div>
</div>
</div>
</section>
@@ -632,6 +644,12 @@
}
}
}
if (targetId === 'quick-approval') {
if (typeof loadQuickApprovalEntries === 'function') {
loadQuickApprovalEntries();
}
}
}
});
});