require("payroll.php");
unset($_SESSION['current_status']);
?>
$page = $_GET['page'];
$status = empty($_GET['status']) ? 1 : $_GET['status'];
$context = array(
'permission' => "leaves",
'status_table' => "leaves",
'current_status' => $status,
'current_page' => $page,
'extra' => "",
'page_link' => "leaves",
'table' => "leaves"
);
$status_val = menus::get_menus_status_raw($context);
menus::get_status_icons($context);
menus::show_menus($status_val,"Status");
?>