<? global $vis_language; ?>
<section id="breadcrumb" class="row m-b m-l-none m-r-none">
   <div class="col-sm-6">
      <h3 class="m-b-xs text-black"><? echo $vis_language['TXTSTAFFGROUP'];?></h3>
      <ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
         <li><a class="link" href="#/home/quick_view/<? echo $vis_language['TXTHOME']; ?>"><? echo $vis_language['TXTHOME']; ?></a></li>
         <li><a class="link" href="#/setting/setting_menu/<? echo $vis_language['TXTSETTINGS'];?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTSETTINGS'];?>',{'vis_module':'setting','vis_operation':'setting_menu'});"><? echo $vis_language['TXTSETTINGS']; ?></a></li>
         <li><a  class="link" href="#/setting/view_staffgroup/<? echo $vis_language['TXTSTAFFGROUP'];?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTSTAFFGROUP'];?>',{'vis_module':'setting','vis_operation':'view_staffgroup'});" class="link"><? echo $vis_language['TXTSTAFFGROUP']; ?></a> </li>
         <li class="active"><?echo $vis_language['TXTUPDATESTAFFGROUP'];?></li>
      </ul>
   </div>
</section>
<section class="padder">
   <section class="panel panel-default">
      <header class="panel-heading text-right bg-light clearfix">
         <ul class="nav nav-tabs pull-left">
			<li class="active"><a data-toggle="tab" oncontextmenu="return false;" href="#permissions" ><? echo $vis_language['TXTPERMISSION']; ?></a></li>
            <li><a data-toggle="tab" oncontextmenu="return false;" href="#department_access" ><? echo $vis_language['TXTDEPARTMENTACCESS']; ?></a></li>
         </ul>
         <span class="hidden-sm dropdown">
         <i class="fa"></i>
         </span>
      </header>
      <div class="panel-body">
      <div class="tab-content">
		   <div id="permissions" class="tab-pane active">
            <? include_once(VIS_PATH_TEMPLATE.'staffgroup_details.php'); ?>
         </div>
         <div id="department_access" class="tab-pane">
			 <? include_once(VIS_PATH_TEMPLATE.'staffgroup_departments.php'); ?>
         </div>
      </div>
   </section>
</section>

