@extends('admin.layout') @section('content') @section('style') @parent @stop @php $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->MeetingAgenda); @endphp

{{ trans('Meeting Agenda List') }}

@if(in_array("Add",$LeadSources )) {{ trans('Create New') }} @endif
Unread
{!! Form::select('priority[]',['Normal'=>'Normal','High'=>'High','Important'=>'Important','Very Important'=>'Very Important'],$priority, ['class' => 'form-control','id'=>'priority', 'multiple'=>'multiple']) !!}

@if(session()->has('message'))

{{ session()->get('message') }}

@endif @if(session()->has('error'))

{{ session()->get('error') }}

@endif
@php $i=0; $managedby = auth()->guard('admin')->user()->myid;@endphp @if(count((array) $result['AgendaData'])>0) @foreach ($result['AgendaData'] as $call) @if(date('Y-m-d',strtotime($call->completion_date))==date('Y-m-d')) @php $uid=json_decode($call->assigned_to); if(in_array($managedby,$uid)||($managedby==$call->created_by)){@endphp status =='Close') style="background-color: #90EE90;" @endif @if(in_array($managedby,json_decode($call->latest_view))) style="background-color: #f9dd;" @endif > @if($call->status!='Close') @if(in_array("Edit",$LeadSources )&& $managedby==$call->created_by) @endif @if(in_array("View",$LeadSources )) @endif @if(in_array("Delete",$LeadSources )&& $managedby==$call->created_by) @endif @endif @php }$i++; @endphp @endif @endforeach @else @endif @if(count((array) $result['AgendaData'])>0) @foreach ($result['AgendaData'] as $call) @if(date('Y-m-d',strtotime($call->completion_date)) > date('Y-m-d')) @php $uid=json_decode($call->assigned_to); if(in_array($managedby,$uid)||($managedby==$call->created_by)){@endphp status =='Close') style="background-color: #90EE90;" @endif @if(in_array($managedby,json_decode($call->latest_view))) style="background-color: #f9dd;" @endif > @if($call->status!='Close') @if(in_array("Edit",$LeadSources )&& $managedby==$call->created_by) @endif @if(in_array("View",$LeadSources )) @endif @if(in_array("Delete",$LeadSources )&& $managedby==$call->created_by) @endif @endif @php }$i++; @endphp @endif @endforeach @else @endif @if(count((array) $result['AgendaData'])>0) @foreach ($result['AgendaData'] as $call) @if(date('Y-m-d',strtotime($call->completion_date)) < date('Y-m-d')) @php $uid=json_decode($call->assigned_to); if(in_array($managedby,$uid)||($managedby==$call->created_by)){@endphp status =='Close') style="background-color: #90EE90;" @endif @if(in_array($managedby,json_decode($call->latest_view))) style="background-color: #f9dd;" @endif > @if($call->status!='Close') @if(in_array("Edit",$LeadSources )&& $managedby==$call->created_by) @endif @if(in_array("View",$LeadSources )) @endif @if(in_array("Delete",$LeadSources )&& $managedby==$call->created_by) @endif @endif @php }$i++; @endphp @endif @endforeach @else @endif
{{ trans('#Meeting ID') }} {{ trans('Today Agenda') }} {{ trans('Created By') }} {{ trans('Status') }} {{ trans('Meeting Date') }} {{ trans('Create Date') }} {{ trans('Priority') }}
#{{$call->id}} {!!$call->title!!} {{$call->Agendacreateby->first_name}} {{$call->Agendacreateby->last_name}} {{$call->status}} {{date('Y-m-d', strtotime($call->completion_date))}} {{$call->created_at}} {{$call->priority}}
No record found
{{ trans('#Meeting ID') }} {{ trans('Future Agenda') }} {{ trans('Created By') }} {{ trans('Status') }} {{ trans('Meeting Date') }} {{ trans('Create Date') }} {{ trans('Priority') }}
#{{$call->id}} {!!$call->title!!} {{$call->Agendacreateby->first_name}} {{$call->Agendacreateby->last_name}} {{$call->status}} {{date('Y-m-d', strtotime($call->completion_date))}} {{$call->created_at}} {{$call->priority}}
No record found
{{ trans('#Meeting ID') }} {{ trans('Past Agenda') }} {{ trans('Created By') }} {{ trans('Status') }} {{ trans('Meeting Date') }} {{ trans('Create Date') }} {{ trans('Priority') }}
#{{$call->id}} {!!$call->title!!} {{$call->Agendacreateby->first_name}} {{$call->Agendacreateby->last_name}} {{$call->status}} {{date('Y-m-d', strtotime($call->completion_date))}} {{$call->created_at}} {{$call->priority}}
No record found
@endsection @section('scripts') @parent @stop