@if($agendas->isEmpty())
| {{ __('global.no')}} | {{ __('agenda.title')}} | {{ __('agenda.description')}} | {{ __('agenda.type.header')}} | {{ __('agenda.status.header')}} | {{ __('agenda.created_date')}} | @if(auth()->user()->hasPermissionTo('Agenda - View Agenda') || auth()->user()->hasPermissionTo('Agenda - Edit Agenda') || auth()->user()->hasPermissionTo('Agenda - Delete Agenda'))@endif | ||
|---|---|---|---|---|---|---|---|---|
| {{$agenda->title}} | {{$agenda->description}} | @if($agenda->type == 'tarh') {{ __('agenda.type.tarh') }} @elseif($agenda->type == 'technical') {{ __('agenda.type.technical') }} @elseif($agenda->type == 'commission') {{ __('agenda.type.commission') }} @endif | @if($agenda->status == 'pending') {{ __('agenda.status.pending') }} @elseif($agenda->status == 'inprogress') {{ __('agenda.status.inprogress') }} @elseif($agenda->status == 'complete') {{ __('agenda.status.complete') }} @else {{ __('agenda.status.archive') }} @endif | {{ getHijriDate($agenda->created_at) }} | @if(auth()->user()->hasPermissionTo('Agenda - View Agenda'))@endif @if(auth()->user()->hasPermissionTo('Agenda - Edit Agenda')) | status == 'pending') href="{{ route('editAgenda', ['id'=> encryption($agenda->id) ]) }}" @endif data-toggle="tooltip" title="{{ __('agenda.edit')}}" class="btn btn-outline-secondary custom-a btn-sm show-edit-btn" style="font-size: 12px; font-weight: bold;" > | @endif @if(auth()->user()->hasPermissionTo('Agenda - Delete Agenda'))status == 'pending') data-id="{{ encryption($agenda->id) }}" data-url="deletes_agenda_route" data-toggle="tooltip" title="{{ __('global.delete')}}" @endif > | @endif|