
<?php $__env->startSection('dynamic_css'); ?>
<style>

	@media (max-width: 768px)
	{

	}

</style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="tab-content">    
    <div id="admin" class="tab-pane fade active show "> 
              <div class="row card_hover" >       
                 <?php if(auth()->check() && auth()->user()->hasRole('Admin')): ?>
                    <div class="col-md-3 card_row ">
                      <a href="<?php echo e(route('organizationalstructure')); ?>" style="text-decoration: none;">
                        <div class="card animated zoomIn">
                            <div class="card-body" style="padding:35px;">
                                    <div class="text-center" style="">
                                         <img src="<?php echo e(asset('media/icons/org.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                    </div>
                                    <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                        Organizational Structure
                                    </div>
                            </div>
                        </div>  
                      </a>
                    </div>
                <?php endif; ?> 

                <?php if(in_array("M1", $global_data['module'])): ?> 
                    
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view_users')): ?>
                            <div class="col-md-3 card_row ">
                               <a href="<?php echo e(route('usermanagement')); ?>" style="    text-decoration: none;">
                                <div class="card animated zoomIn">
                                    <div class="card-body" style="padding:35px;">

                                            <div class="text-center" style="">
                                                 <img src="<?php echo e(asset('media/icons/team-manager-512.png')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                            </div>
                                            <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                                User   Management<br>
                                         </div>                    
                                    </div>
                                </div>
                              </a>
                            </div>
                    <?php endif; ?>  
                <?php endif; ?>  
                <?php if(in_array("M2", $global_data['module'])): ?> 
                  <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view_employees')): ?>
                    <div class="col-md-3 card_row">
                      <a href="<?php echo e(route('employees')); ?>" style="text-decoration: none;">
                        <div class="card animated zoomIn">
                            <div class="card-body" style="padding:35px;">

                                    <div class="text-center" style="">
                                         <img src="<?php echo e(asset('media/icons/employees.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                    </div>
                                    <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                       Employees <br>
                                    </div>

                            </div>
                        </div>
                      </a>
                    </div>
                  <?php endif; ?>
                <?php endif; ?>    

                <?php if(in_array("M4", $global_data['module'])): ?>  
                  <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view_attendances')): ?>
                    <div class="col-md-3 card_row">
                      <a href="#" style="    text-decoration: none;">
                        <div class="card animated zoomIn">
                            <div class="card-body" style="padding:35px;">

                                    <div class="text-center" style="">
                                         <img src="<?php echo e(asset('media/icons/attendance.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                    </div>
                                    <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                        Attendance Management<br>
                                    </div>

                            </div>
                        </div>
                      </a>
                    </div>
                 <?php endif; ?>
                <?php endif; ?>  

                <?php if(in_array("M3", $global_data['module'])): ?>
                  <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view_leaves')): ?>
                    <div class="col-md-3 card_row">
                      <a href="" style="    text-decoration: none;">
                        <div class="card animated zoomIn">
                            <div class="card-body" style="padding:35px;">

                                    <div class="text-center" style="">
                                         <img src="<?php echo e(asset('media/icons/list1.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                    </div>
                                    <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                       Leave Management <br>
                                    </div> 
                            </div>
                        </div>
                      </a>
                    </div>
                 <?php endif; ?>
                <?php endif; ?>  

                <?php if(in_array("M5", $global_data['module'])): ?>
                  <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view_services')): ?>
                    <div class="col-md-3 card_row">
                      <a href="<?php echo e(route('servicedashboard')); ?>" style="    text-decoration: none;">
                        <div class="card animated zoomIn">
                            <div class="card-body" style="padding:35px;">

                                    <div class="text-center" style="">
                                         <img src="<?php echo e(asset('media/icons/service1.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                    </div>
                                    <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                        Employee Service Management
                                    </div>
                            </div>
                        </div>
                      </a>
                    </div >
                  <?php endif; ?>
                <?php endif; ?>  

                <?php if(in_array("M6", $global_data['module'])): ?>
                  <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view_payrolls')): ?>
                    <div class="col-md-3 card_row">
                      <a href="" style="    text-decoration: none;">
                        <div class="card animated zoomIn">
                            <div class="card-body" style="padding:35px;">

                                    <div class="text-center" style="">
                                         <img src="<?php echo e(asset('media/icons/payroll.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                    </div>
                                    <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                       Payroll Management <br>
                                    </div>                   
                            </div>
                        </div>
                      </a>
                    </div >
                   <?php endif; ?>
                <?php endif; ?> 

                  <?php if(in_array("M7", $global_data['module'])): ?> 
                     <?php if(auth()->user()->can('view_meetings') || auth()->user()->can('view_meeting_minutes')): ?>

                        <div class="col-md-3 card_row">
                          <a href="" style="    text-decoration: none;">
                            <div class="card animated zoomIn">
                                <div class="card-body" style="padding:35px;">

                                        <div class="text-center" style="">
                                             <img src="<?php echo e(asset('media/icons/meetings.svg')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                        </div>
                                        <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                           Meeting Management <br>
                                        </div>

                                </div>
                            </div>
                          </a>
                        </div>
                     <?php endif; ?>   
              <?php endif; ?>
              <?php if(in_array("M8", $global_data['module'])): ?>
                 <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view_performance')): ?>
                        <div class="col-md-3 card_row">
                          <a href="<?php echo e(route('performance.dashboard')); ?>" style="    text-decoration: none;">
                            <div class="card animated zoomIn">
                                <div class="card-body" style="padding:35px;">

                                        <div class="text-center" style="">
                                             <img src="<?php echo e(asset('media/icons/seo-performance-marketing-graphic.png')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                                        </div>
                                        <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                           Performance <br>
                                        </div>
                                </div>
                            </div>
                          </a>
                        </div> 
                <?php endif; ?>
              <?php endif; ?>  
              <div class="col-md-3 card_row card_row-last">
                <a href="<?php echo e(route('others.dashboard')); ?>" style="    text-decoration: none;">
                  <div class="card animated zoomIn">
                      <div class="card-body" style="padding:35px;">

                              <div class="text-center" style="">
                                   <img src="<?php echo e(asset('media/icons/others.png')); ?>" style="width: 35%;display: block;margin: auto;" class="img img-responsive">
                              </div>
                              <div class="text-center" style="width: 100%;padding: 5px;margin-top: 28px;font-size: 15px;font-variant: petite-caps;height: 54px;">
                                 Others <br>
                              </div>
                      </div>
                  </div>
                </a>
      </div>  
         </div>
    </div>
    <div id="user" class="tab-pane fade">
    </div>
</div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>