@extends('layouts.app') @section('dynamic_css') @endsection @section('content')
@hasrole('Admin') @endhasrole @if(in_array("M1", $global_data['module'])) @can('view_users') @endcan @endif @if(in_array("M2", $global_data['module'])) @can('view_employees') @endcan @endif {{--@if(in_array("M4", $global_data['module'])) @can('view_attendances') @endcan @endif--}} {{--@if(in_array("M3", $global_data['module'])) @can('view_leaves') @endcan @endif--}} @if(in_array("M5", $global_data['module'])) @can('view_services') @endcan @endif @if(in_array("M6", $global_data['module'])) @can('view_payrolls') @endcan @endif @if(in_array("M7", $global_data['module'])) @if(auth()->user()->can('view_meetings') || auth()->user()->can('view_meeting_minutes')) @endif @endif @if(in_array("M8", $global_data['module'])) @can('view_performance') @endcan @endif @if(in_array("M25", $global_data['module'])) @can('view_performance') @endcan @endif @hasrole('Admin') @endhasrole @hasrole('Admin') @endhasrole
@endsection