Commit f94c8803 authored by Mahmoud Aglan's avatar Mahmoud Aglan

Fix: group print page crashing on enum status passed to __()

GroupStatus is a backed enum — need ->value to get the string for __().
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 33d690de
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<div class="header"> <div class="header">
<h1>{{ $group->name_ar }}</h1> <h1>{{ $group->name_ar }}</h1>
<p>{{ $group->program?->name_ar ?? '' }} — {{ __('الحالة') }}: {{ __($group->status) }}</p> <p>{{ $group->program?->name_ar ?? '' }} — {{ __('الحالة') }}: {{ __($group->status->value) }}</p>
</div> </div>
<div class="info-grid"> <div class="info-grid">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment