From ff3e0842227a91fb73be66468371196465502d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Tue, 1 Sep 2026 14:58:32 +0300 Subject: [PATCH] fix(intern): quill editor baslatma hatasi ve staj formu yukleme izinleri duzeltildi --- .../front/career/intern_dashboard.blade.php | 184 +++++++++++------- 1 file changed, 111 insertions(+), 73 deletions(-) diff --git a/resources/views/front/career/intern_dashboard.blade.php b/resources/views/front/career/intern_dashboard.blade.php index 979bc26..5bbdb5d 100644 --- a/resources/views/front/career/intern_dashboard.blade.php +++ b/resources/views/front/career/intern_dashboard.blade.php @@ -660,11 +660,11 @@
- status !== 'pending') disabled @endif class="w-full px-4 py-3 rounded-xl border border-slate-200 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 focus:outline-none text-sm font-semibold text-slate-700 bg-white transition-all disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed" /> + status, ['pending', 'waiting_document', 'reviewed'])) disabled @endif class="w-full px-4 py-3 rounded-xl border border-slate-200 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 focus:outline-none text-sm font-semibold text-slate-700 bg-white transition-all disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed" />
- status !== 'pending') disabled @endif class="w-full px-4 py-3 rounded-xl border border-slate-200 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 focus:outline-none text-sm font-semibold text-slate-700 bg-white transition-all disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed" /> + status, ['pending', 'waiting_document', 'reviewed'])) disabled @endif class="w-full px-4 py-3 rounded-xl border border-slate-200 focus:border-blue-400 focus:ring-1 focus:ring-blue-400 focus:outline-none text-sm font-semibold text-slate-700 bg-white transition-all disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed" />
@@ -673,7 +673,7 @@
- @if($intern->status === 'pending') + @if(in_array($intern->status, ['pending', 'waiting_document', 'reviewed']))
@@ -690,7 +690,7 @@
@else
- Başvurunuz bekleme aşamasında (beklemede) olmadığı için staj bilgilerinizi ve dosyanızı güncelleyemezsiniz. + Başvurunuz kabul veya ret durumunda olduğu için staj formunuzu ve tarihlerinizi güncelleyemezsiniz.
@endif @@ -970,7 +970,7 @@ @php - $userBlogs = $blogs ?? collect(); + $userBlogs = ($blogs ?? collect())->sortByDesc('created_at'); $publishedBlogs = $userBlogs->where('status', 'published'); $publishedCount = $publishedBlogs->count(); $progressPercent = min(100, round(($publishedCount / 3) * 100)); @@ -1325,21 +1325,24 @@