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:
@@ -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"></a>
|
||||
</div>
|
||||
'.$service_events.'
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user