CIM58 - Userflow - extended

This commit is contained in:
“VeLiTi”
2024-04-02 09:46:09 +02:00
parent 8c5fdd92f7
commit aabfd7ce7f
5 changed files with 17 additions and 3 deletions

View File

@@ -10,8 +10,12 @@ include_once './assets/functions.php';
include_once './settings/settings.php';
//SET PAGE ORIGIN FOR NAVIGATION AND SECURITY
$prev_page = $_SESSION['prev_origin'] ?? '';
$page = $_SESSION['origin'] = 'equipments';
//create backbutton to prev_origin
$back_btn_orgin = ($prev_page != '')? '<a href="'.$prev_page.'" class="btn alt mar-right-2">'.$button_back.'</a>':'';
//Check if allowed
if (isAllowed($page,$_SESSION['profile'],$_SESSION['permission'],'R') === 0){
header('location: index.php');
@@ -34,7 +38,6 @@ $warrantydate = $_SESSION['warrantydate'] = isset($_GET['warrantydate']) ? '&war
$partnerid = $_SESSION['partnerid'] = isset($_GET['partnerid']) ? '&partnerid='.$_GET['partnerid'] : '';
//GET PARAMETERS FOR FILTERS
$filter = urlGETdetailsFilter($_GET) ?? '';
@@ -71,6 +74,9 @@ if (isset($_GET['download'])){
downloadToExcel('equipment',$responses);
}
template_header('Assets', 'assets','view');
$view = '
<div class="content-title">