Different Widget for admin, Agent, Sales and Customers Editor

This commit is contained in:
iBNu Maksum
2025-02-19 12:14:57 +07:00
parent 1a2f2e24cd
commit db4c643f93
6 changed files with 85 additions and 29 deletions

View File

@ -113,10 +113,23 @@ foreach ($result as $value) {
$config[$value['setting']] = $value['value'];
}
if(empty($config['dashboard_cr'])){
$config['dashboard_cr'] = "12.7,5.12";
if(empty($config['dashboard_Admin'])){
$config['dashboard_Admin'] = "12.7,5.12";
}
if(empty($config['dashboard_Agent'])){
$config['dashboard_Agent'] = "12.7,5.12";
}
if(empty($config['dashboard_Sales'])){
$config['dashboard_Sales'] = "12.7,5.12";
}
if(empty($config['dashboard_Customer'])){
$config['dashboard_Customer'] = "12.12";
}
$_c = $config;
if (empty($http_proxy) && !empty($config['http_proxy'])) {
$http_proxy = $config['http_proxy'];