CIM88 - Changelog en reporting

This commit is contained in:
“VeLiTi”
2024-08-30 15:01:07 +02:00
parent 061fae6244
commit 0532f93bd9
16 changed files with 1287 additions and 8 deletions

203
settings/settingsmenu.php Normal file
View File

@@ -0,0 +1,203 @@
<?php
//------------------------------------------
// Menusetup and settings
//
//
// Each Menu name in urls array requires reference
// into translation files and corresponding profile
//------------------------------------------
//Menu Setup
$main_menu = array ('dashboard','sales','build','cartests','marketing','equipments','products','reporting','admin','settings');
//Sub menus
$equipments_sub = array('equipments','servicereports','histories','firmwaretool','equipments_mass_update');
$sales_sub = array('accounts','contracts');
$admin_sub = array('users','communications','partners');
$reporting_sub = array('report_build','report_usage');
$settings_sub = array('config','language','log');
//URLS
$urls = array(
"dashboard" => array(
"url" => "dashboard",
"selected" => "dashboard",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_dashboard"
),
"equipments" => array(
"url" => "equipments",
"selected" => "assets",
"icon" => "fa-solid fa-database",
"name" => "menu_assets"
),
"servicereports" => array(
"url" => "servicereports",
"selected" => "servicereports",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_service_reports"
),
"histories" => array(
"url" => "histories",
"selected" => "histories",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_history"
),
"firmwaretool" => array(
"url" => "firmwaretool",
"selected" => "firmwaretool",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_firmwaretool"
),
"equipments_mass_update" => array(
"url" => "equipments_mass_update",
"selected" => "equipments_mass_update",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_equipments_mass_update"
),
"products" => array(
"url" => "products&status=1",
"selected" => "products",
"icon" => "fas fa-box-open",
"name" => "menu_products"
),
"sales" => array(
"url" => "accounts",
"selected" => "accounts",
"icon" => "fa-solid fa-bars",
"name" => "menu_sales"
),
"accounts" => array(
"url" => "accounts",
"selected" => "accounts",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_sales_accounts"
),
"contracts" => array(
"url" => "contracts",
"selected" => "contracts",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_sales_contracts"
),
"admin" => array(
"url" => "partners",
"selected" => "partners",
"icon" => "fa-solid fa-bars",
"name" => "menu_admin"
),
"users" => array(
"url" => "users",
"selected" => "users",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_admin_users"
),
"communications" => array(
"url" => "communications",
"selected" => "communications",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_admin_communications"
),
"partners" => array(
"url" => "partners",
"selected" => "partners",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_admin_partners"
),
"settings" => array(
"url" => "settings",
"selected" => "settings",
"icon" => "fas fa-tools",
"name" => "menu_settings"
),
"config" => array(
"url" => "settings",
"selected" => "settings",
"icon" => "fas fa-tools",
"name" => "menu_config"
),
"language" => array(
"url" => "language",
"selected" => "language",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_language"
),
"log" => array(
"url" => "logfile",
"selected" => "logfile",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_log"
),
"marketing" => array(
"url" => "marketing&product_group=Emergency_Plug&product_content=Images",
"selected" => "marketing",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_marketing"
),
"build" => array(
"url" => "buildtool",
"selected" => "buildtool",
"icon" => "fas fa-tachometer-alt",
"name" => "menu_build"
),
"cartests" => array(
"url" => "cartests",
"selected" => "cartests",
"icon" => "fa-solid fa-car",
"name" => "menu_cartest"
),
"reporting" => array(
"url" => "report_build",
"selected" => "report_build",
"icon" => "fa-solid fa-magnifying-glass-chart",
"name" => "menu_report_main"
),
"report_build" => array(
"url" => "report_build",
"selected" => "report_build",
"icon" => "fa-solid fa-magnifying-glass-chart",
"name" => "menu_report_build"
),
"report_usage" => array(
"url" => "report_usage",
"selected" => "report_usage",
"icon" => "fa-solid fa-magnifying-glass-chart",
"name" => "menu_report_usage"
)
);
$routes = array(
'/' => 'equipments.php',
'equipments' => 'equipments.php',
'products' => 'products.php',
'logout' => 'logout.php'
);
//------------------------------------------
// Paging
//------------------------------------------
$page_rows_equipment = 25; //list Equipment
$page_rows_history = 15; //list History
$page_rows_products = 10;//list producst
$page_rows_users = 15;//list users
$page_rows_partners = 15;//list partners
$page_rows_communication = 25; //list communications
$page_rows_accounts = 25 ;// list accounts
$page_rows_contracts = 25 ;// list contracts
$page_rows_cartest = 25 ;// list contracts
$page_rows_equipment_servicereporst = 5 ;// Number of service reports on equipment
$page_rows_changelog = 50 ;// Number of changelogs returned
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Marketing +++++++++++++++++++++++++++++++++++++
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++
$main_marketing_dir = './marketing/';
$marketing_structure = array(
"Emergency_Plug" => array(
"Documents",
"Images",
"Video"
)
);

View File

@@ -21,6 +21,9 @@ $menu_log = 'Protokoll';
$menu_marketing = 'Marketing';
$menu_build = 'Erstellen';
$menu_cartest = 'Fahrzeugdatenbank';
$menu_report_main = 'Reports';
$menu_report_build = 'Stock and Production';
$menu_report_usage = 'System usage';
//TABS
$tab1 = 'Allgemein';
@@ -762,4 +765,17 @@ $cartest_allowed_label6 = 'Gelb';
$cartest_allowed_label7 = 'Blau';
$cartest_allowed_label8 = 'Rot';
$cartest_allowed_label9 = 'Bestanden';
$cartest_allowed_label10 = 'Nicht bestanden';
$cartest_allowed_label10 = 'Nicht bestanden';
//---------------------------------
//BUILD REPORT
//---------------------------------
$buildreport_h2 = 'Stock and Production';
$buildreport_p = 'Reporting';
$buildreport_raw_text = 'Total number '.$product_location_raw;
$buildreport_SFG_text = 'Total number '.$product_location_SFG;
$buildreport_FG_text = 'Total number '.$product_location_FG;
$buildreport_onstock_text = 'Total number '.$status2_text;
$data_build_sfg_view = $product_location_SFG.' produced in the last 7 days';
$data_build_fg_view = $product_location_FG.' produced in the last 7 days';

View File

@@ -21,6 +21,9 @@ $menu_log = 'Log';
$menu_marketing = 'Marketing';
$menu_build = 'Build';
$menu_cartest = 'Auto database';
$menu_report_main = 'Rapporten';
$menu_report_build = 'Voorraad en Productie';
$menu_report_usage = 'Systeemgebruik';
//TABS
$tab1 = 'Algemeen';
@@ -734,4 +737,17 @@ $cartest_allowed_label6 = 'Geel';
$cartest_allowed_label7 = 'Blauw';
$cartest_allowed_label8 = 'Rood';
$cartest_allowed_label9 = 'Goed';
$cartest_allowed_label10 = 'Fout';
$cartest_allowed_label10 = 'Fout';
//---------------------------------
//BUILD REPORT
//---------------------------------
$buildreport_h2 = 'Voorraad en Productie';
$buildreport_p = 'Rapporten';
$buildreport_raw_text = 'Totaal aantal '.$product_location_raw;
$buildreport_SFG_text = 'Totaal aantal '.$product_location_SFG;
$buildreport_FG_text = 'Totaal aantal '.$product_location_FG;
$buildreport_onstock_text = 'Totaal aantal '.$status2_text;
$data_build_sfg_view = $product_location_SFG.' geproduceerd in de laatste 7 dagen';
$data_build_fg_view = $product_location_FG.' geproduceerd in de laatste 7 dagen';

View File

@@ -21,6 +21,9 @@ $menu_log = 'Log';
$menu_marketing = 'Marketing';
$menu_build = 'Build';
$menu_cartest = 'Car database';
$menu_report_main = 'Reports';
$menu_report_build = 'Stock and Production';
$menu_report_usage = 'System usage';
//TABS
$tab1 = 'General';
@@ -731,4 +734,17 @@ $cartest_allowed_label6 = 'Yellow';
$cartest_allowed_label7 = 'Blue';
$cartest_allowed_label8 = 'Red';
$cartest_allowed_label9 = 'Pass';
$cartest_allowed_label10 = 'Fail';
$cartest_allowed_label10 = 'Fail';
//---------------------------------
//BUILD REPORT
//---------------------------------
$buildreport_h2 = 'Stock and Production';
$buildreport_p = 'Reporting';
$buildreport_raw_text = 'Total number '.$product_location_raw;
$buildreport_SFG_text = 'Total number '.$product_location_SFG;
$buildreport_FG_text = 'Total number '.$product_location_FG;
$buildreport_onstock_text = 'Total number '.$status2_text;
$data_build_sfg_view = $product_location_SFG.' produced in the last 7 days';
$data_build_fg_view = $product_location_FG.' produced in the last 7 days';