<?php //error_reporting(E_ERROR | E_PARSE); require_once '../../../php/appUtil.php'; if (!isset($_SESSION['token'])) { session_start(); } else { header("Location: ../../index.html"); exit; } $userId = $_SESSION['token']; $hasWrite = appUtil::doesUserHasAccess("Inventory", $userId, "Write"); ?> <div> <div ng-include="'utils/loader.html'"></div> </div> <div> <div ng-include="'utils/ErrorMessage.html'"></div> </div> <div> <div ng-include="'utils/WarningMessage.html'"></div> </div> <!-- END TEMPLATE --> <!-- END SCRIPTS --> <div class="row"> <div class="col-md-12">
<?php //error_reporting(E_ERROR | E_PARSE); require_once '../../php/appUtil.php'; if (!isset($_SESSION['token'])) { session_start(); } else { header("Location: ../../index.html"); exit; } $userId = $_SESSION['token']; $hasRead = appUtil::doesUserHasAccess("Applicator", $userId, "Read"); $hasWrite = appUtil::doesUserHasAccess("Applicator", $userId, "Write"); if (!$hasRead && !$hasWrite) { header("Location: ../../Dashboard.php"); exit; } ?> <style> .panel.panel-default{ margin-top: 40px; } #primary_nav_wrap { margin-top:15px; position:fixed; width: 100%; z-index: 2;
<?php //error_reporting(E_ERROR | E_PARSE); require_once '../../php/appUtil.php'; if (!isset($_SESSION['token'])) { session_start(); } else { header("Location: ../../index.html"); exit; } $userId = $_SESSION['token']; $hasWrite = appUtil::doesUserHasAccess("Business Process", $userId, "Write"); $hasRead = appUtil::doesUserHasAccess("Business Process", $userId, "Read"); $hasExpenseRead = appUtil::doesUserHasAccess("Expense", $userId, "Read"); $hasWriteForExpense = appUtil::doesUserHasAccess("Expense", $userId, "Write"); ?> <div> <div ng-include="'utils/loader.html'"></div> </div> <div> <div ng-include="'utils/ErrorMessage.html'"></div> </div> <div> <div ng-include="'utils/WarningMessage.html'"></div> </div> <div class="col-md-12"> <!-- START SEARCH --> <div class="panel panel-default"> <div class="panel-heading">
<!-- START WIDGETS --> <?php //error_reporting(E_ERROR | E_PARSE); require_once '../../php/appUtil.php'; if (!isset($_SESSION['token'])) { session_start(); } else { header("Location: ../../index.html"); exit; } $userId = $_SESSION['token']; $hasRead = appUtil::doesUserHasAccess("Payroll", $userId, "Read"); $hasWrite = appUtil::doesUserHasAccess("Payroll", $userId, "Write"); ?> <style> .panel.panel-default{ margin-top: 40px; } #primary_nav_wrap { margin-top:15px; position:fixed; width: 100%; z-index: 2; } #primary_nav_wrap ul { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none;
<?php //error_reporting(E_ERROR | E_PARSE); require_once '../../php/appUtil.php'; if (!isset($_SESSION['token'])) { session_start(); } else { header("Location: ../../index.html"); exit; } $userId = $_SESSION['token']; $hasWrite = appUtil::doesUserHasAccess("Business Process", $userId, "Write"); ?> <div> <div ng-include="'utils/loader.html'"></div> </div> <div> <div ng-include="'utils/ErrorMessage.html'"></div> </div> <div> <div ng-include="'utils/WarningMessage.html'"></div> </div> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><strong>Customers </strong>Details</h3> </div> <div class="panel-body form-horizontal">