@extends('lay.dnekcab.retsam') @section('title') {{ $page_title }} @endsection @section('css') @endsection @section('page-content')
{{__('result.result_details')}}

{{ $resultDetails->title}}

@switch($resultDetails->status) @case('pending') {{ __('result.status.pending') }} @break @case('inprogress') {{ __('result.status.inprogress') }} @break @case('complete') {{ __('result.status.complete') }} @break @case('archive') {{ __('result.status.archive') }} @break @default @endswitch

{{ getHijriDate($resultDetails->created_at) }}


@if($resultDetails->resultMatters && $resultDetails->resultMatters->count())
@foreach($resultDetails->resultMatters as $resultMatter) @if($resultMatter->matters) @endif @endforeach
{{ __('matter.item') }} {{ __('result.decission') }}
{{ $resultMatter->matters->title }} {{ $resultMatter->decission }}
@endif
    @foreach ($resultDetails->resultOrganization_names as $resultOrganizationName)
  1. {{ $resultOrganizationName }}
  2. @endforeach
{{__('result.followup_result')}}
@php $counter = 1; @endphp
@if($resultDetails->followups) @foreach($resultDetails->followups as $rfollowup) @endforeach @endif
{{ __('global.no') }} {{ __('result.include_organization') }} {{ __('result.time_to_implement') }} {{ __('result.implementation_description') }} * {{ __('result.followup_commnets') }} {{ __('result.followup_status') }} {{ __('global.actions') }}
{{ $rfollowup->organization->name }} {{ __('global.required') }} @if($rfollowup->followup_status != 'complete') @else @endif
@endsection @section('js') @endsection