@extends('layouts.app') @section('content')

قائمة الاحكام

اضافه حكم
@foreach ($judgements as $judgment) @endforeach
# اسم النزيل رقم الهوية الجنسية رقم القضية مدة عقوبة السجن للحق العام مدة عقوبة السجن المرجأ للحق العام مدة عقوبة السجن حدا عدد الجلدات تصنيف الجرم تعلق الجرم بالأمن الوطنى عدد القضايا المتداخلة تعديل عرض بيانات الحكم
{{ $loop->iteration }} {{ $judgment->prisoner->full_name }} {{ $judgment->prisoner->identity_number }} {{ $judgment->prisoner->nationality->name }} {{ $judgment->issue->issue_number }} @if ($judgment->total_duration_public_imprisonment)
  • {{ $judgment->total_duration_details['years'] }} سنة
  • {{ $judgment->total_duration_details['months'] }} شهر
  • {{ $judgment->total_duration_details['days'] }} يوم
@else {{ ' 0 يوم' }} @endif
{{ isset($judgment->imprisonment_public_rights) ? $judgment->imprisonment_public_rights->duration_years * 360 + $judgment->imprisonment_public_rights->duration_months * 30 + $judgment->imprisonment_public_rights->duration_days : 0 }} يوم {{ isset($judgment->duration_sentence_limited) ? $judgment->duration_sentence_limited->duration_years * 360 + $judgment->duration_sentence_limited->duration_months * 30 + $judgment->duration_sentence_limited->duration_days : 0 }} يوم {{ isset($judgment->judgement_floogging) ? $judgment->judgement_floogging->floogging_100 * 100 . ' / ' . $judgment->judgement_floogging->floogging_80 * 80 : 0 }} جلدة {{ $judgment->is_big_issue ? 'من الجرائم الكبيره' : 'من الجرائم الصغيره' }} {{ $judgment->is_national_security ? 'نعم' : 'لا' }} {{ $judgment->judgement_entered_issues->count() + $judgment->judgement_related_issues->count() }} تعديل عرض
{{ $judgements->appends(Request::except(['_token']))->links() }}
@endsection