@extends('layouts.default', ['appTopMenu' => true]) @section('title', 'Committee') @push('scripts') @endpush @push('head') @endpush @section('content') @php $id = 0; @endphp Committee @if($id == 0) @else @endif @csrf Committee SELECT COMMITEE @php foreach($allCommittee as $all){ @endphp {{ $all->comm_id."-".$all->comm_name }} @php } @endphp @error('comm_id') {{ $message }} @enderror Members @php foreach($allMembers as $all){ @endphp {{ $post_name }} @php } @endphp @error('comm_members') {{ $message }} @enderror Secretary @php foreach($allMembers as $all){ @endphp ?> {{ $post_name }} @php } @endphp @error('comm_secretary') {{ $message }} @enderror From Date @error('txt_meeting_date') {{ $message }} @enderror Is Active Yes No Committee Members Details S.No. Committee Members Committee Secretary Active From @php $sn = 1;$temp_comm_name='';$temp_sec_name='';$s=1;$uniques = array(); foreach($allCommitteesMembers as $all){ $uniques[$all->meeting_id] = $all; if($temp_comm_name!== $all->meeting_id) { @endphp {{ $all->comm_name; }} @php $sn = 1;$temp_sec_name='';$temp_mem_name=''; } @endphp {{ $sn++; }} {{ date("d-m-Y", strtotime($all->from_dt)) }} @php $temp_comm_name=$all->meeting_id; $temp_mem_name=$all->emp_name; $temp_sec_name=$all->post_name; } @endphp @endsection @push('scripts') @endpush