@extends('operations.layout.mainlayout') @section('content') {{-- @if($_SESSION["role"] != 4)--}} {{-- {{exit("

Unauthorized access

")}}--}} {{-- @endif--}}

Programmable Comments

{{-- --}} @foreach($comments as $comment) @php // Check if this record is grouped $isGrouped = $comment->is_grouped; $groupCount = $comment->group_count; @endphp @permission('manage_administration_programmable_comments') @endpermission @endforeach
Comment ID Name Test Name (EN) Comment typeComment textComment unit Group Action
{{$comment->ID}} {{$comment->NAME_EN ?? ''}} {{$comment->LabCategoryPackage->NAME_EN ?? ''}} @if($isGrouped && $groupCount > 1) Group of {{ $groupCount }} @endif {{$comment->COMMENT_TYPE ?? ''}} {{$comment->unit->NAME_EN ?? '-'}} @if($groupCount > 1) {{ $groupCount }} tests @elseif($isGrouped) Grouped @else Single @endif Remove
{{-- @if(!empty($_SESSION["role"]) && ($_SESSION["role"] == 4 || $_SESSION["role"] == 11))--}} @permission('manage_administration_programmable_comments') Add Test Comment @endpermission {{-- @endif--}}
@endsection @section('footer-scripts') @endsection