@extends('layouts.app') @section('content')
# | الاسم | رقم الهوية | تاريخ المخالفة | العقوبة المقررة | مدة العقوية |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $item->prisoner->full_name}} | {{ $item->prisoner->identity_number }} | {{ $item->date_violating_instructions_hijri }} | @foreach (config("static.punishment_type_prison") as $punishmentKey => $punishmentLabel) @if ($item->$punishmentKey && $punishmentKey != "other" ) {{ $punishmentLabel . " - " }} @elseif ($item->$punishmentKey && $punishmentKey == "other" ) {{ $item->other_punishment_input }} @endif @endforeach | {{ $item->duration_penalty }} يوم |