Enhance UI and functionality across multiple pages

- Added filter panels and search functionality to media, orders, partners, pricelists, products, products attributes, software versions, translations, and users pages.
- Implemented security checks for create, update, and delete permissions on various pages.
- Updated CSS styles for improved layout and responsiveness, including new styles for filter panels and buttons.
- Refactored existing forms to utilize the new filter panel design for a more consistent user experience.
- Adjusted API versioning in servicereport and servicereports pages for better compatibility.
- Improved button icons for filter actions and form submissions for better user interaction.
This commit is contained in:
“VeLiTi”
2025-12-16 11:39:14 +01:00
parent ec20d44267
commit 364ee773e4
26 changed files with 824 additions and 417 deletions

View File

@@ -27,11 +27,11 @@ if (isAllowed($page,$_SESSION['profile'],$_SESSION['permission'],'R') === 0){
//GET Details from URL
$GET_VALUES = urlGETdetails($_GET) ?? '';
//CALL TO API FOR History
$api_url = '/v1/history/'.$GET_VALUES;
$api_url = '/v2/history/'.$GET_VALUES;
$history = ioServer($api_url,'');
//Decode Payload
if (!empty($history)){$history = decode_payload($history);}else{$history = null;}
if (!empty($history)){$history = json_decode($history);}else{$history = null;}
template_header('Servicereport', 'servicereport','view');
$view = '
@@ -60,7 +60,6 @@ if (empty($history)){
$view .= '<div class="content-block">
<div class="block-header">
<i class="fa-solid fa-bars fa-sm"></i>'.$servicereport_details.' - '.$_GET['historyID'].'
<a href="index.php?page=render_service_report&historyID='.$_GET['historyID'].'" class="btn">&#xf1c1;</a>
</div>
'.$service_events.'
</div>