diff --git a/app/.htaccess b/app/.htaccess old mode 100644 new mode 100755 diff --git a/app/Common.php b/app/Common.php old mode 100644 new mode 100755 diff --git a/app/Config/App.php b/app/Config/App.php old mode 100644 new mode 100755 diff --git a/app/Config/Autoload.php b/app/Config/Autoload.php old mode 100644 new mode 100755 diff --git a/app/Config/Boot/development.php b/app/Config/Boot/development.php old mode 100644 new mode 100755 diff --git a/app/Config/Boot/production.php b/app/Config/Boot/production.php old mode 100644 new mode 100755 diff --git a/app/Config/Boot/testing.php b/app/Config/Boot/testing.php old mode 100644 new mode 100755 diff --git a/app/Config/CURLRequest.php b/app/Config/CURLRequest.php old mode 100644 new mode 100755 diff --git a/app/Config/Cache.php b/app/Config/Cache.php old mode 100644 new mode 100755 diff --git a/app/Config/Constants.php b/app/Config/Constants.php old mode 100644 new mode 100755 diff --git a/app/Config/ContentSecurityPolicy.php b/app/Config/ContentSecurityPolicy.php old mode 100644 new mode 100755 diff --git a/app/Config/Cookie.php b/app/Config/Cookie.php old mode 100644 new mode 100755 diff --git a/app/Config/Database.php b/app/Config/Database.php old mode 100644 new mode 100755 diff --git a/app/Config/DocTypes.php b/app/Config/DocTypes.php old mode 100644 new mode 100755 diff --git a/app/Config/Email.php b/app/Config/Email.php old mode 100644 new mode 100755 diff --git a/app/Config/Encryption.php b/app/Config/Encryption.php old mode 100644 new mode 100755 diff --git a/app/Config/Events.php b/app/Config/Events.php old mode 100644 new mode 100755 diff --git a/app/Config/Exceptions.php b/app/Config/Exceptions.php old mode 100644 new mode 100755 diff --git a/app/Config/Feature.php b/app/Config/Feature.php old mode 100644 new mode 100755 diff --git a/app/Config/Filters.php b/app/Config/Filters.php old mode 100644 new mode 100755 diff --git a/app/Config/ForeignCharacters.php b/app/Config/ForeignCharacters.php old mode 100644 new mode 100755 diff --git a/app/Config/Format.php b/app/Config/Format.php old mode 100644 new mode 100755 diff --git a/app/Config/Generators.php b/app/Config/Generators.php old mode 100644 new mode 100755 diff --git a/app/Config/Honeypot.php b/app/Config/Honeypot.php old mode 100644 new mode 100755 diff --git a/app/Config/Images.php b/app/Config/Images.php old mode 100644 new mode 100755 diff --git a/app/Config/Kint.php b/app/Config/Kint.php old mode 100644 new mode 100755 diff --git a/app/Config/Logger.php b/app/Config/Logger.php old mode 100644 new mode 100755 diff --git a/app/Config/Migrations.php b/app/Config/Migrations.php old mode 100644 new mode 100755 diff --git a/app/Config/Mimes.php b/app/Config/Mimes.php old mode 100644 new mode 100755 diff --git a/app/Config/Modules.php b/app/Config/Modules.php old mode 100644 new mode 100755 diff --git a/app/Config/MongoDbConfig.php b/app/Config/MongoDbConfig.php old mode 100644 new mode 100755 diff --git a/app/Config/Pager.php b/app/Config/Pager.php old mode 100644 new mode 100755 diff --git a/app/Config/Paths.php b/app/Config/Paths.php old mode 100644 new mode 100755 diff --git a/app/Config/Publisher.php b/app/Config/Publisher.php old mode 100644 new mode 100755 diff --git a/app/Config/Routes.php b/app/Config/Routes.php old mode 100644 new mode 100755 diff --git a/app/Config/Security.php b/app/Config/Security.php old mode 100644 new mode 100755 diff --git a/app/Config/Services.php b/app/Config/Services.php old mode 100644 new mode 100755 diff --git a/app/Config/Toolbar.php b/app/Config/Toolbar.php old mode 100644 new mode 100755 diff --git a/app/Config/UserAgents.php b/app/Config/UserAgents.php old mode 100644 new mode 100755 diff --git a/app/Config/Validation.php b/app/Config/Validation.php old mode 100644 new mode 100755 diff --git a/app/Config/View.php b/app/Config/View.php old mode 100644 new mode 100755 diff --git a/app/Controllers/Alert_Settings_Controller.php b/app/Controllers/Alert_Settings_Controller.php old mode 100644 new mode 100755 diff --git a/app/Controllers/BaseController.php b/app/Controllers/BaseController.php old mode 100644 new mode 100755 diff --git a/app/Controllers/Common_Graph.php b/app/Controllers/Common_Graph.php old mode 100644 new mode 100755 index 6f33afc3..a6b8aea7 --- a/app/Controllers/Common_Graph.php +++ b/app/Controllers/Common_Graph.php @@ -79,7 +79,20 @@ public function getDataRaw($graphRef,$fromTime=null,$toTime=null){ } else{ $s_time_range = strtotime($value['calendar_date']." ".$value['start_time']); - $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + // $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + $duration_min =0; + $duration_sec =0; + + $tmp = explode(".", $value['split_duration']); + if (sizeof($tmp) >1) { + $duration_min = floatval($tmp[0]); + $duration_sec = floatval($tmp[1]); + } + else{ + $duration_min = floatval($tmp[0]); + } + $duration = (int)(($duration_min*60) + ($duration_sec)); + $e_time_range = $s_time_range + $duration; if ($s_time_range <= $s_time_range_limit && $e_time_range >= $s_time_range_limit) { $output[$key]['start_time'] = $FromTime; @@ -120,7 +133,20 @@ public function getDataRaw($graphRef,$fromTime=null,$toTime=null){ } else{ $s_time_range = strtotime($value['calendar_date']." ".$value['start_time']); - $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + // $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + $duration_min =0; + $duration_sec =0; + + $tmp = explode(".", $value['duration']); + if (sizeof($tmp) >1) { + $duration_min = floatval($tmp[0]); + $duration_sec = floatval($tmp[1]); + } + else{ + $duration_min = floatval($tmp[0]); + } + $duration = (int)(($duration_min*60) + ($duration_sec)); + $e_time_range = $s_time_range + $duration; if ($s_time_range <= $s_time_range_limit && $e_time_range >= $s_time_range_limit) { $getAllTimeValues[$key]['start_time'] = $FromTime; @@ -354,7 +380,7 @@ public function getDataRaw($graphRef,$fromTime=null,$toTime=null){ if ($graphRef == "Overall") { return $Overall; } -} + } public function calculateOverallOEE($MachineWiseData){ @@ -655,7 +681,7 @@ public function oeeData($MachineWiseDataRaw,$getAllTimeValues,$noplan=false){ return $DowntimeTimeData; } - + // public function getDuration($f,$t){ $from_time = strtotime($f); $to_time = strtotime($t); @@ -741,7 +767,7 @@ public function oeeDataTreand($MachineWiseDataRaw,$x,$part,$days,$noplan=false){ return $downData; } - + // } diff --git a/app/Controllers/Current_Shift_Performance.php b/app/Controllers/Current_Shift_Performance.php old mode 100644 new mode 100755 diff --git a/app/Controllers/Daily_production_controller.php b/app/Controllers/Daily_production_controller.php old mode 100644 new mode 100755 diff --git a/app/Controllers/Financial_Metrics.php b/app/Controllers/Financial_Metrics.php index 1f25fc2e..7e50048c 100644 --- a/app/Controllers/Financial_Metrics.php +++ b/app/Controllers/Financial_Metrics.php @@ -120,7 +120,20 @@ public function getDataRaw($graphRef,$fromTime=null,$toTime=null){ } else{ $s_time_range = strtotime($value['calendar_date']." ".$value['start_time']); - $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + // $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + $duration_min =0; + $duration_sec =0; + + $tmp = explode(".", $value['split_duration']); + if (sizeof($tmp) >1) { + $duration_min = floatval($tmp[0]); + $duration_sec = floatval($tmp[1]); + } + else{ + $duration_min = floatval($tmp[0]); + } + $duration = (int)(($duration_min*60) + ($duration_sec)); + $e_time_range = $s_time_range + $duration; if ($s_time_range <= $s_time_range_limit && $e_time_range >= $s_time_range_limit) { $output[$key]['start_time'] = $FromTime; @@ -161,7 +174,20 @@ public function getDataRaw($graphRef,$fromTime=null,$toTime=null){ } else{ $s_time_range = strtotime($value['calendar_date']." ".$value['start_time']); - $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + // $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']); + $duration_min =0; + $duration_sec =0; + + $tmp = explode(".", $value['duration']); + if (sizeof($tmp) >1) { + $duration_min = floatval($tmp[0]); + $duration_sec = floatval($tmp[1]); + } + else{ + $duration_min = floatval($tmp[0]); + } + $duration = (int)(($duration_min*60) + ($duration_sec)); + $e_time_range = $s_time_range + $duration; if ($s_time_range <= $s_time_range_limit && $e_time_range >= $s_time_range_limit) { $getAllTimeValues[$key]['start_time'] = $FromTime; diff --git a/app/Controllers/General.php b/app/Controllers/General.php old mode 100644 new mode 100755 diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php old mode 100644 new mode 100755 diff --git a/app/Controllers/Login.php b/app/Controllers/Login.php old mode 100644 new mode 100755 diff --git a/app/Controllers/OEE_Drill_Down_controller.php b/app/Controllers/OEE_Drill_Down_controller.php old mode 100644 new mode 100755 index 7a2264f7..a7fd1c4c --- a/app/Controllers/OEE_Drill_Down_controller.php +++ b/app/Controllers/OEE_Drill_Down_controller.php @@ -6,6 +6,7 @@ class OEE_Drill_Down_controller extends BaseController { protected $graph_obj; + // constructor function __construct(){ //parent::__construct(); $this->session = \Config\Services::session(); @@ -15,7 +16,7 @@ function __construct(){ // $this->Financial = new Financial_Model(); } - + // overall oee teep and ooe value getting public function OverallOEETarget(){ if ($this->request->isAJAX()) { log_message("info","\n\n oee drill down over all graph function calling !!"); @@ -24,24 +25,14 @@ public function OverallOEETarget(){ $ref="Overall"; $fromTime = $this->request->getVar("from"); $toTime = $this->request->getVar("to"); - // $fromTime = "2023-11-12T09:00:00"; - // $toTime = "2023-11-18T08:00:00"; - - - - // $start_time = microtime(true); - // $Overall = $this->getDataRaw($ref,$fromTime,$toTime); + // $fromTime = "2023-11-18T14:00:00"; + // $toTime = "2023-11-24T13:00:00"; $Overall = $this->graph_obj->getDataRaw($ref,$fromTime,$toTime); - // $end_time = microtime(true); - // $execution_time = ($end_time - $start_time); - // echo " Execution time of script = ".$execution_time." sec"; $end_time_logger_overall_g = microtime(true); $execution_time_logger_overall_g = ($end_time_logger_overall_g - $start_time_logger_overall_g); log_message("info","oee drill down overall graph execution duration is :\t".$execution_time_logger_overall_g); - echo json_encode($Overall); - // echo "
";
// print_r($Overall);
@@ -49,6 +40,7 @@ public function OverallOEETarget(){
}
+ // general settings get oee and teep and ooe target value
public function getOverallTarget(){
log_message("oee drill down graph overall graph function calling !!");
$start_time_logger_oa = microtime(true);
@@ -252,7 +244,7 @@ public function oeeTrendDay(){
}
-
+ // oee trend graph filter and array arrange function
public function oeeDataTreand($MachineWiseDataRaw,$x,$part,$days,$noplan=false,$filter_data)
{
$downData=[];
@@ -405,6 +397,7 @@ public function getMachineWiseOEE(){
}
+ // machine wise oee sorting function
public function selectionSortOEE($arr, $n)
{
// One by one move boundary of unsorted subarray
@@ -454,45 +447,45 @@ public function getAvailabilityReasonWise($fromTime,$toTime){
// $toTime="2023-03-03T11:00:00";
// // Calculation for to find ALL time value
- $tmpFromDate =explode("T", $fromTime);
- $tmpToDate = explode("T", $toTime);
+ $tmpFromDate =explode("T", $fromTime);
+ $tmpToDate = explode("T", $toTime);
- //Raw data from Reason mapping Table...........
- $rawData = $this->graph_obj->getDataRaw($ref,$fromTime,$toTime);
+ //Raw data from Reason mapping Table...........
+ $rawData = $this->graph_obj->getDataRaw($ref,$fromTime,$toTime);
- // machine wise records
- $ref1 = "MachinewiseOEE";
- $MachinewiseData = $this->graph_obj->getDataRaw($ref1,$fromTime,$toTime);
+ // machine wise records
+ $ref1 = "MachinewiseOEE";
+ $MachinewiseData = $this->graph_obj->getDataRaw($ref1,$fromTime,$toTime);
- //Difference between two dates......
- $diff = abs(strtotime($toTime) - strtotime($fromTime));
- $AllTime = (int)($diff/60);
-
- //time split for date+time seperated values
- $tmpFrom = explode("T",$fromTime);
- $tmpTo = explode("T",$toTime);
- // temporary time......
- $tempFrom = explode(":",$tmpFrom[1]);
- $tempTo = explode(":",$tmpTo[1]);
- //From date
- $FromDate = $tmpFrom[0];
- //milli seconds added ":00", because in real data milli seconds added
- $FromTime = $tempFrom[0].":00".":00";
- //Exact value
- //$FromTime = $tmpFrom[1];
- //To Date
- $ToDate = $tmpTo[0];
- //milli seconds added ":00"
- $ToTime = $tempTo[0].":00".":00";
+ //Difference between two dates......
+ $diff = abs(strtotime($toTime) - strtotime($fromTime));
+ $AllTime = (int)($diff/60);
+
+ //time split for date+time seperated values
+ $tmpFrom = explode("T",$fromTime);
+ $tmpTo = explode("T",$toTime);
+ // temporary time......
+ $tempFrom = explode(":",$tmpFrom[1]);
+ $tempTo = explode(":",$tmpTo[1]);
+ //From date
+ $FromDate = $tmpFrom[0];
+ //milli seconds added ":00", because in real data milli seconds added
+ $FromTime = $tempFrom[0].":00".":00";
+ //Exact value
+ //$FromTime = $tmpFrom[1];
+ //To Date
+ $ToDate = $tmpTo[0];
+ //milli seconds added ":00"
+ $ToTime = $tempTo[0].":00".":00";
//Machine Wise Calculated Data...........
- //$MachinewiseData = $this->getDataRaw($ref);
+ //$MachinewiseData = $this->getDataRaw($ref);
// Machine Name and ID Reference............
$MachineName = $this->data->getMachineRecGraph();
// Need not change, because machine id updated........
// Machine Id Conversion as per the Machine data.......
- // $MachineName = $this->convertMachineId($MachineName);
+
// Downtime Reason.......
$DowntimeReason = $this->data->downtimeReason();
@@ -609,7 +602,7 @@ public function getAvailabilityReasonWise($fromTime,$toTime){
return $out;
}
-
+ // availability opportunity graph for reason wise sorting function
public function selectionSortAvailability($arr, $n)
{
// One by one move boundary of unsorted subarray
@@ -666,7 +659,7 @@ public function selectionSortAvailability($arr, $n)
return $arr;
}
-
+ // machine wise availability graph for graph filter function
public function getmachine_reason_availability(){
if ($this->request->isAJAX()) {
$fromTime = $this->request->getVar("from");
@@ -770,7 +763,7 @@ public function getmachine_reason_availability(){
}
}
-
+ // sub function for availability graph for graph filter function
public function getoppcost_arr($rid,$res,$machine_arr){
$temp_arr = [];
foreach ($res['data'] as $key => $value) {
@@ -786,7 +779,7 @@ public function getoppcost_arr($rid,$res,$machine_arr){
return $temp_arr;
}
-
+ // sub function for availability graph for graph filter function
public function getduration_arr($rid,$res,$machine_arr){
$tmpid_arr = [];
@@ -969,6 +962,7 @@ public function performanceOpportunity(){
// print_r($out);
}
+ // sorting function for performance opportunity graph
public function selectionSortQuality($arr, $n){
//int i, j, min_idx;
@@ -1594,6 +1588,7 @@ public function getoppcost_arr_first_loader($rid,$res){
return $temp_arr;
}
+ // sub function for availability graph
public function getduration_arr_first_loader($rid,$res){
$tmpid_arr = [];
diff --git a/app/Controllers/Operator.php b/app/Controllers/Operator.php
old mode 100644
new mode 100755
diff --git a/app/Controllers/PDM_controller.php b/app/Controllers/PDM_controller.php
old mode 100644
new mode 100755
diff --git a/app/Controllers/Production_Downtime_controller.php b/app/Controllers/Production_Downtime_controller.php
old mode 100644
new mode 100755
index a3cab234..acbe6ec8
--- a/app/Controllers/Production_Downtime_controller.php
+++ b/app/Controllers/Production_Downtime_controller.php
@@ -3,15 +3,19 @@
namespace App\Controllers;
use App\Models\Production_Downtime_Model;
+
class Production_Downtime_controller extends BaseController{
protected $data;
protected $pagination_value = 50;
+ protected $graph_demo;
+ // constructor
function __construct(){
$this->session = \Config\Services::session();
$this->data = new Production_Downtime_Model();
+ $this->graph_demo = new Common_Graph();
}
// duration calculation function
@@ -25,126 +29,16 @@ public function getDuration($f,$t){
}
-
- // raw data main function
- public function getDataRaw($fromTime=null,$toTime=null){
- // Calculation for to find ALL time value
- $tmpFromDate =explode("T", $fromTime);
- $tmpToDate = explode("T", $toTime);
-
- //Difference between two dates......
- $diff = abs(strtotime($toTime) - strtotime($fromTime));
- $AllTime = 0;
-
- //time split for date+time seperated values
- $tmpFrom = explode("T",$fromTime);
- $tmpTo = explode("T",$toTime);
- // temporary time......
- $tempFrom = explode(":",$tmpFrom[1]);
- $tempTo = explode(":",$tmpTo[1]);
-
- //From date
- $FromDate = $tmpFrom[0];
- //milli seconds added ":00", because in real data milli seconds added
- $FromTime = $tempFrom[0].":00".":00";
- //To Date
- $ToDate = $tmpTo[0];
- $ToTime = $tempTo[0].":00".":00";
-
- // // Data from reason mapping table...........
- $output = $this->data->getDataRaw($FromDate,$FromTime,$ToDate,$ToTime);
-
- // Data from PDM Events table for find the All Time Duration...........
- $getAllTimeValues = $this->data->getDataRawAll($FromDate,$ToDate);
-
- // return $getAllTimeValues;
-
- $getOfflineId = $this->data->getOfflineEventId($FromDate,$FromTime,$ToDate,$ToTime);
-
- // Get the Machine Record.............
- $machine = $this->data->getMachineRecActive($FromDate,$ToDate);
-
- //Part list Details from Production Info Table between the given from and To durations......
- $part = $this->data->getPartRec($FromDate,$ToDate);
-
- //Production Data for PDM_Production_Info Table......
- $production = $this->data->getProductionRec($FromDate,$ToDate);
-
- // Get the Inactive(Current) Data.............
- $getInactiveMachine = $this->data->getInactiveMachineData();
-
- // return $getInactiveMachine;
- // Date Filte for PDM Reason Mapping Data........
- $len_id = sizeof($getOfflineId);
- $s_time_range_limit = strtotime($FromDate." ".$FromTime);
- $e_time_range_limit = strtotime($ToDate." ".$ToTime);
-
- foreach ($output as $key => $value) {
- $check_no = 0;
- for($i=0;$i<$len_id;$i++){
- if ($getOfflineId[$i]['machine_event_id'] == $value['machine_event_id']) {
- unset($output[$key]);
- $check_no = 1;
- break;
- }
- }
- if($check_no == 0){
- if ($value['split_duration']<0) {
- unset($output[$key]);
- }
- else{
- $s_time_range = strtotime($value['calendar_date']." ".$value['start_time']);
- $e_time_range = strtotime($value['calendar_date']." ".$value['end_time']);
-
- if ($s_time_range <= $s_time_range_limit && $e_time_range >= $s_time_range_limit) {
- $output[$key]['start_time'] = $FromTime;
- if ($e_time_range >= $e_time_range_limit) {
- $output[$key]['end_time'] = $ToTime;
- }
- $output[$key]['split_duration'] = $this->getDuration($value['calendar_date']." ".$output[$key]['start_time'],$value['calendar_date']." ".$output[$key]['end_time']);
- }
- else if ($s_time_range < $e_time_range_limit && $e_time_range > $e_time_range_limit) {
- $output[$key]['end_time'] = $ToTime;
- $output[$key]['split_duration'] = $this->getDuration($value['calendar_date']." ".$output[$key]['start_time'],$value['calendar_date']." ".$output[$key]['end_time']);
- }
- else{
- if ($e_time_range <= $s_time_range_limit){
- unset($output[$key]);
- }
- if ($s_time_range >= $e_time_range_limit){
- unset($output[$key]);
- }
- }
-
- //For remove the current data of inactive machines.........
- foreach ($getInactiveMachine as $v) {
- $t = explode(" ", $v['max(r.last_updated_on)']);
- $start_time_range = strtotime($v['max(r.last_updated_on)']);
- if ($s_time_range_limit > $start_time_range && $value['machine_id'] == $v['machine_id']){
- unset($output[$key]);
- }
- }
- }
- }
- }
-
-
- // if ($graphRef == "AvailabilityReasonWise") {
- // return $output;
- // }
-
- return $output;
- }
-
+ // main fucntion for all production downtime graph
public function getAvailabilityReasonWise($fromTime,$toTime){
// public function getAvailabilityReasonWise(){
- // $ref = "AvailabilityReasonWise";
+ $ref = "AvailabilityReasonWise";
// $fromTime = $this->request->getVar("from");
// $toTime = $this->request->getVar("to");
- // $fromTime = "2023-02-14T10:00:00";
- // $toTime = "2023-02-20T10:00:00";
+ // $fromTime = "2023-11-16T11:00:00";
+ // $toTime = "2023-11-22T10:00:00";
// // Calculation for to find ALL time value
$tmpFromDate =explode("T", $fromTime);
@@ -152,11 +46,11 @@ public function getAvailabilityReasonWise($fromTime,$toTime){
//Raw data from Reason mapping Table...........
- $rawData = $this->getDataRaw($fromTime,$toTime);
+ $rawData = $this->graph_demo->getDataRaw($ref,$fromTime,$toTime);
// return $rawData;
// echo "";
- // print_r($fromTime);
+ // print_r($rawData);
// echo "";
//Difference between two dates......
@@ -392,24 +286,7 @@ public function getdowntime_reason_whise_graph($FromDate,$todate){
//array_push($reason_id_arr,$reason_arr);
}
- /*
- $opporuntiy_cost_reason_arr = [];
-
- foreach ($result['reason'] as $key => $value) {
- $tmp['downtime_reason_id'] = $value['downtime_reason_id'];
- $tmp['downtime_reason'] = $value['downtime_reason'];
- $tmp['downtime_category'] = $value['downtime_category'];
- $tmp['opportunity_cost'] = $result['total'][$key];
- $tmp['duration'] = $result['totalDuration'][$key];
- $tmp['machine_id'] = $value['machine_id'];
- array_push($opporuntiy_cost_reason_arr,$tmp);
- }
-
-
- $final_arr['graph'] = $opporuntiy_cost_reason_arr;
- $final_arr['grandTotal'] = $result['grandTotal'];
- $final_arr['total_duration'] = array_sum($result['totalDuration']);
- */
+
// echo "";
// print_r($result);
// echo json_encode($final_arr);
@@ -450,186 +327,6 @@ public function reason_duration_graph($from_date,$to_date){
return $final_arr;
}
- // machine wise opportunity cost
- /* tempoary
- public function getMachine_wise_opporuntiy_cost(){
- // $fromdate = "2023-02-10T10:00:00";
- // $todate = "2023-02-20T10:00:00";
- $fromdate = $this->request->getVar('from');
- $todate = $this->request->getVar('to');
- $result = $this->getAvailabilityReasonWise($fromdate,$todate);
-
-
- $machine_wise_arr = [];
- foreach ($result['data'] as $key => $value) {
- $machine_arr=[];
- $duration = 0;
- $oppcost = 0;
- foreach ($value as $k1 => $v1) {
- $oppcost = $oppcost+$v1['oppCost'];
- $duration = $duration+$v1['duration'];
- }
- $tmp['machine_id'] = $value[0]['machine_id'];
- $tmp['machine_name'] = $value[0]['machine_name'];
- $tmp['oppcost'] = $oppcost;
- // $tmp['duration'] = $duration;
-
- array_push($machine_wise_arr,$tmp);
- }
-
- // echo "";
- // print_r($result);
- // echo "
";
- // echo "
";
- $final_arr['graph'] = $machine_wise_arr;
- $final_arr['grant_total'] = $result['grandTotal'];
- // echo "machine wise opportunity cost";
- // echo "";
- // print_r($final_arr);
- // echo "
";
- echo json_encode($final_arr);
- }
-
-
-
- // get stacked bar graph this function also temporary hide because the reason for graph filter
- public function getmachine_reason_duration(){
- // echo "get Downtime duration machine with reasons";
- // $fromdate = "2023-01-10T10:00:00";
- // $todate = "2023-01-10T10:00:00";
- $fromdate = $this->request->getVar('from');
- $todate = $this->request->getVar('to');
- $result = $this->getAvailabilityReasonWise($fromdate,$todate);
-
- $farr = [];
- foreach ($result['data'] as $key => $value) {
- $machine_arr = [];
- $machine_arr['machine_id'] = $value[0]['machine_id'];
- $machine_arr['machine_name'] = $value[0]['machine_name'];
- $tmp_reason = [];
- $tmp_duration = [];
- $tmp_reason_id = [];
- $tmp_total = 0;
- foreach ($value as $k1 => $v1) {
- array_push($tmp_duration,$v1['duration']);
- array_push($tmp_reason,$v1['reason']);
- array_push($tmp_reason_id,$v1['reason_id']);
- }
- $machine_arr['reason_id'] = $tmp_reason_id;
- $machine_arr['reason_name'] = $tmp_reason;
- $machine_arr['total'] = array_sum($tmp_duration);
- $machine_arr['reason_duration'] = $tmp_duration;
- array_push($farr,$machine_arr);
- }
-
- $out=[];
- $out['reason']=$result['reason'];
- $out['data']=$farr;
- $out['total_duration'] = array_sum($result['totalDuration']);
- echo json_encode($out);
- }
- */
-
- // get tableview records
- public function get_table_view($fromdate,$todate){
- // $fromdate = "2023-02-14T10:00:00";
- // $todate = "2023-02-20T10:00:00";
- $from_date = explode("T",$fromdate);
- $to_date = explode("T",$todate);
- // $result = $this->data->getpdmreason_data($from_date[0],$to_date[0]);
- $result = $this->getDataRaw($fromdate,$todate);
-
- // echo "";
- // print_r($result);
- // echo "
";
- // return $result;
- $machine_data = $this->data->getmachine_name();
- $part_arr = $this->data->getpart_arr();
- $getuser_arr = $this->data->getuser_data($this->session->get('active_site'));
- // $getpart_data = $this->data->getpart_data();
-
- $demo_arr = [];
- foreach ($result as $key => $value) {
- // $result[$key]['machine_name'] = $machine_data[$value['machine_id']];
- // $result[$key]['tool_name'] = $part_arr['tool'][$value['tool_id']];
- $part_demo_arr = explode(",",$value['part_id']);
- foreach ($part_demo_arr as $k1 => $v1) {
- $temp['machine_event_id'] = $value['machine_event_id'];
- $temp['machine_id'] = $value['machine_id'];
- $temp['shift_date'] = $value['shift_date'];
- $temp['Shift_id'] = $value['Shift_id'];
- $temp['downtime_reason_id'] = $value['downtime_reason_id'];
- $temp['split_duration'] = $value['split_duration'];
- $temp['tool_id'] = $value['tool_id'];
- $temp['part_id'] = $v1;
- $temp['notes'] = $value['notes'];
- if ($getuser_arr[$value['last_updated_by']]) {
- // echo "not ok";
- $temp['last_updated_by'] = $getuser_arr[$value['last_updated_by']];
- }else{
- $temp['last_updated_by'] = " ";
- }
-
- $temp['last_updated_on'] = $value['last_updated_on'];
- $temp['downtime_category'] = $value['downtime_category'];
- $temp['downtime_reason'] = $value['downtime_reason'];
- $temp['machine_name'] = $machine_data[$value['machine_id']];
- $temp['part_name'] = $part_arr['part'][$v1];
- $temp['tool_name'] = $part_arr['tool'][$value['tool_id']];
-
- array_push($demo_arr,$temp);
- }
-
- }
- return $demo_arr;
-
- }
-
-
- // first visible 0 to 49 records
- public function gettable_data(){
-
- // $from_date = "2023-02-12T09:00:00";
- // $to_date = "2023-02-20T08:00:00";
- $from_date = $this->request->getVar('from');
- $to_date = $this->request->getVar('to');
- // $from_arr = explode("T",$from_date);
- // $to_arr = explode("T",$to_date);
- $res = $this->get_table_view($from_date,$to_date);
-
-
-
- // echo "data filtering records";
- $final['total'] = count($res);
- $final['data'] = $res;
- // echo "";
- // print_r($final);
- // echo "
";
-
- // return $final;
- echo json_encode($final);
-
- }
-
-
-
-
-
-
-
- // category based reason
- public function category_based_reason(){
- if ($this->request->isAJAX()) {
- $category = $this->request->getVar('category_temp');
- $res = $this->data->getcategory_based_record($category);
- echo json_encode($res);
- }
- }
-
-
-
-
-
// filter records getting
public function filter_records(){
if ($this->request->isAJAX()) {
@@ -696,342 +393,13 @@ public function filter_records(){
echo json_encode($final1);
- /*
- if (($machine_arr==null)&&($machine_arr=="")) {
- if (($part_arr==null) && ($part_arr=="")) {
- if (($reason_arr==null)&&($reason_arr=="")) {
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- // echo json_encode("all fields are empty start time end time work");
- $res = $this->get_table_view($from_date,$to_date);
- $final['total'] = count($res);
- $final['data'] = $res;
- echo json_encode($final);
-
-
- }else{
- // echo json_encode($temp); // getdata_time_filter
- $name = "created_by";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$created_by_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$result);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- }
- }else{
- // return "created by array and category array";
- if (($created_by_arr==null)&&($created_by_arr=="")) {
- $name="category";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$category_arr,$name);
- $final_res1 = $this->getdata_time_filter($from_date,$to_date,$result);
- $final1['total'] = count($final_res1);
- $final1['data'] = $final_res1;
- echo json_encode($final1);
-
- }else{
- //echo json_encode("created by array and category array");
- $name = "created_category";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$created_by_arr,$category_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- }
- }
- }else{
- //return "reason array and category array and created by array";
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- // echo json_encode("reason array only");
- $name="reasons";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$reason_arr,$name);
- $final_res1 = $this->getdata_time_filter($from_date,$to_date,$result);
- $final1['total'] = count($final_res1);
- $final1['data'] = $final_res1;
- echo json_encode($final1);
-
- }else{
-
- $name = "reason_created";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$reason_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("reason array and created by array ");
- }
- }else{
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name = "reason_category";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$reason_arr,$category_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("reason array category array");
- }else{
- //echo json_encode("reason array and category and created by array ");
- $name="reason_category_created";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$reason_arr,$category_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- }
- }
- }
- }else{
- if (($reason_arr==null)&&($reason_arr=="")) {
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- // echo json_encode("parts array only");
- $res = $this->getpart_based_filter($part_arr,$from_date,$to_date);
- $final['total'] = count($res);
- $final['data'] = $res;
- echo json_encode($final);
-
- }else{
- $name="created_by";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$created_by_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$result,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("parts array and created by array");
- }
- }else{
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name="category";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$category_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$result,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("parts array and category array");
- }else{
-
- $name = "created_category";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$created_by_arr,$category_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("parts array and category array and created by array");
- }
- }
- }else{
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name="reasons";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$reason_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$result,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("parts array and reason array");
- }else{
- $name = "reason_created";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$reason_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("parts array and reason array created by array");
- }
- }else{
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name = "reason_category";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$reason_arr,$category_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("parts array and reason array and category array");
- }else{
- $name="reason_category_created";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$reason_arr,$category_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("parts array and reason array and category array and created by array");
- }
- }
- }
- }
- }else{
- //return "all fields are filling";
- if (($part_arr==null) && ($part_arr=="")) {
- if (($reason_arr==null)&&($reason_arr=="")) {
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- // echo json_encode("Machine array only");
- $name="machine";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$machine_arr,$name);
- $final_res1 = $this->getdata_time_filter($from_date,$to_date,$result);
- $final1['total'] = count($final_res1);
- $final1['data'] = $final_res1;
- echo json_encode($final1);
-
- }else{
- $name = "machine_created";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$machine_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode(" machine array and created by array");
- }
- }else{
- // return "created by array and category array";
- if (($created_by_arr==null)&&($created_by_arr=="")) {
- $name = "machine_category";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$machine_arr,$category_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode(" machine array and category by array");
- }else{
- $name="machine_created_category";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$machine_arr,$created_by_arr,$category_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode(" machine array and created by array and category array");
- }
- }
- }else{
- //return "reason array and category array and created by array";
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name = "machine_reason";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and reason array");
- }else{
- $name="machine_reason_created";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and reason array and created by array ");
- }
- }else{
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name="machine_reason_category";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$category_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("machine array and reason array category array");
-
- }else{
- $name = "machine_reason_category_created";
- $res = $this->data->four_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$category_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_filter($from_date,$to_date,$res);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and reason array and category and created by array ");
- }
- }
- }
- }else{
- if (($reason_arr==null)&&($reason_arr=="")) {
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- //echo json_encode("machine array and parts array");
- $name="machine";
- $result = $this->data->single_arr_filter($fdate[0],$tdate[0],$machine_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$result,$part_arr);
- $final1['total'] = count($final_res);
- $final1['data'] = $final_res;
- echo json_encode($final1);
- }else{
- $name = "machine_created";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$machine_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and parts array and created by array");
- }
- }else{
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name = "machine_category";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$machine_arr,$category_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and parts array and category array");
- }else{
- $name="machine_created_category";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$machine_arr,$created_by_arr,$category_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("machine array and parts array and category array and created by array");
- }
- }
- }else{
- if (($category_arr==null)&&($category_arr=="")) {
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name = "machine_reason";
- $res = $this->data->two_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and parts array and reason array");
- }else{
- $name="machine_reason_created";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and parts array and reason array created by array");
- }
- }else{
- if (($created_by_arr==null) && ($created_by_arr=="")) {
- $name="machine_reason_category";
- $res = $this->data->three_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$category_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- //echo json_encode("machine array and parts array and reason array and category array");
- }else{
- $name = "machine_reason_category_created";
- $res = $this->data->four_arr_filter($fdate[0],$tdate[0],$machine_arr,$reason_arr,$category_arr,$created_by_arr,$name);
- $final_res = $this->getdata_time_part_filter($from_date,$to_date,$res,$part_arr);
- $final['total'] = count($final_res);
- $final['data'] = $final_res;
- echo json_encode($final);
- // echo json_encode("machine array and parts array and reason array and category array and created by array");
- }
- }
- }
- }
- }
-
- */
+
// $res = $this->data->filter_records($temp);
// echo json_encode($res);
}
}
-
- // time filter record
+ // time filter record for the table records
public function getdata_time_filter($fromTime,$toTime,$res){
// Calculation for to find ALL time value
$tmpFromDate =explode("T", $fromTime);
@@ -1187,40 +555,6 @@ public function records_arrangement($record){
return $demo_arr;
}
-
- // part based filtering
- public function getpart_based_filter($part_arr,$from_date,$to_date){
- $res = $this->getDataRaw($from_date,$to_date);
- $final = $this->records_arrangement($res);
- $demo_arr = [];
- foreach ($part_arr as $key => $value) {
- foreach ($final as $k1 => $val) {
- if ($value===$val['part_id']) {
- array_push($demo_arr,$final[$k1]);
- }
- }
- }
-
- return $demo_arr;
- }
-
- // part based filter double array
- public function getdata_time_part_filter($fdate,$tdate,$res,$part_arr){
- $final = $this->getdata_time_filter($fdate,$tdate,$res);
- $demo_arr = [];
- foreach ($part_arr as $key => $value) {
- foreach ($final as $k1 => $val) {
- if ($value===$val['part_id']) {
- array_push($demo_arr,$final[$k1]);
- }
- }
- }
-
- return $demo_arr;
-
- }
-
-
// // graph filte reason wise opportunity cost
public function graph_filter_reason_wise_oppcost(){
if ($this->request->isAJAX()) {
@@ -1272,6 +606,7 @@ public function graph_filter_reason_wise_oppcost(){
}
}
+ // cost based graph sorting
public function cost_based_sorting($arr){
for($i=0;$irequest->isAJAX()) {
@@ -1432,6 +768,7 @@ public function filter_machine_wise_oppcost(){
}
}
+ // machin wise opportunity cost
public function machine_wise_oppcost_sort($arr){
for($i=0;$irequest->isAJAX()) {
$reason_arr = $this->request->getVar('reason_arr');
@@ -1528,7 +865,7 @@ public function filter_machine_reason_duration(){
// echo json_encode($temp);
}
}
-
+ // machine and reason wise duration sorting
public function getmachine_reason_sorting($arr){
for($i=0;$irequest->isAJAX()) {
log_message("info","\n\nproduction downtime machine wise duration graph calling");
diff --git a/app/Controllers/Production_Quality.php b/app/Controllers/Production_Quality.php
old mode 100644
new mode 100755
diff --git a/app/Controllers/Settings_controller.php b/app/Controllers/Settings_controller.php
old mode 100644
new mode 100755
diff --git a/app/Controllers/User_controller.php b/app/Controllers/User_controller.php
old mode 100644
new mode 100755
diff --git a/app/Controllers/Work_Order_Management_controller.php b/app/Controllers/Work_Order_Management_controller.php
old mode 100644
new mode 100755
diff --git a/app/Database/Migrations/.gitkeep b/app/Database/Migrations/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Database/Seeds/.gitkeep b/app/Database/Seeds/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Filters/.gitkeep b/app/Filters/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Helpers/.gitkeep b/app/Helpers/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Language/.gitkeep b/app/Language/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Language/en/Validation.php b/app/Language/en/Validation.php
old mode 100644
new mode 100755
diff --git a/app/Libraries/.gitkeep b/app/Libraries/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Libraries/MongoDb.php b/app/Libraries/MongoDb.php
old mode 100644
new mode 100755
diff --git a/app/Models/.gitkeep b/app/Models/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Models/Alert_Settings_Model.php b/app/Models/Alert_Settings_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/Current_Shift_Performance_Model.php b/app/Models/Current_Shift_Performance_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/Daily_production_Model.php b/app/Models/Daily_production_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/Financial_Model.php b/app/Models/Financial_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/MainModel.php b/app/Models/MainModel.php
old mode 100644
new mode 100755
diff --git a/app/Models/OEE_Drill_Down_Model.php b/app/Models/OEE_Drill_Down_Model.php
old mode 100644
new mode 100755
index b989d562..0e108e18
--- a/app/Models/OEE_Drill_Down_Model.php
+++ b/app/Models/OEE_Drill_Down_Model.php
@@ -34,11 +34,12 @@ public function __construct(){
];
}
+ // getdata raw function its using common function for all module model its adding shiftid,lastupdated_on lastupdated_by,notes
public function getDataRaw($FromDate,$FromTime,$ToDate,$ToTime)
{
$db = \Config\Database::connect($this->site_connection);
$query = $db->table('pdm_downtime_reason_mapping as t');
- $query->select('t.machine_event_id,t.machine_id,t.downtime_reason_id,t.tool_id,t.part_id,t.shift_date,t.start_time,t.end_time,t.split_duration,t.calendar_date,r.downtime_category,r.downtime_reason');
+ $query->select('t.machine_event_id,t.machine_id,t.downtime_reason_id,t.tool_id,t.part_id,t.shift_date,t.start_time,t.end_time,t.split_duration,t.calendar_date,r.downtime_category,r.downtime_reason,t.Shift_id,t.last_updated_on,t.notes,t.last_updated_by');
$query->where('t.shift_date >=',$FromDate);
$query->where('t.shift_date <=',$ToDate);
$query->join('settings_downtime_reasons as r', 'r.downtime_reason_id = t.downtime_reason_id');
diff --git a/app/Models/Operator_model.php b/app/Models/Operator_model.php
old mode 100644
new mode 100755
diff --git a/app/Models/PDM_Model.php b/app/Models/PDM_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/Production_Downtime_Model.php b/app/Models/Production_Downtime_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/Production_Quality_Model.php b/app/Models/Production_Quality_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/Settings_Model.php b/app/Models/Settings_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/UserLogin.php b/app/Models/UserLogin.php
old mode 100644
new mode 100755
diff --git a/app/Models/User_Model.php b/app/Models/User_Model.php
old mode 100644
new mode 100755
diff --git a/app/Models/Work_Order_Management_Model.php b/app/Models/Work_Order_Management_Model.php
old mode 100644
new mode 100755
diff --git a/app/ThirdParty/.gitkeep b/app/ThirdParty/.gitkeep
old mode 100644
new mode 100755
diff --git a/app/Views/Alert_Settings.php b/app/Views/Alert_Settings.php
old mode 100644
new mode 100755
diff --git a/app/Views/Create_Password.php b/app/Views/Create_Password.php
old mode 100644
new mode 100755
diff --git a/app/Views/Current_Shift_Performance.php b/app/Views/Current_Shift_Performance.php
old mode 100644
new mode 100755
diff --git a/app/Views/Daily_Production_Status.php b/app/Views/Daily_Production_Status.php
old mode 100644
new mode 100755
diff --git a/app/Views/Downtime_Production.php b/app/Views/Downtime_Production.php
old mode 100644
new mode 100755
diff --git a/app/Views/Financial_FOeeDrillDown.php b/app/Views/Financial_FOeeDrillDown.php
old mode 100644
new mode 100755
diff --git a/app/Views/Financial_OpportunityInsights.php b/app/Views/Financial_OpportunityInsights.php
old mode 100644
new mode 100755
diff --git a/app/Views/Grafana_Home.php b/app/Views/Grafana_Home.php
old mode 100644
new mode 100755
diff --git a/app/Views/Header.php b/app/Views/Header.php
old mode 100644
new mode 100755
diff --git a/app/Views/Oee_Drill_Down.php b/app/Views/Oee_Drill_Down.php
old mode 100644
new mode 100755
diff --git a/app/Views/Operator/Operator_Dashboard.php b/app/Views/Operator/Operator_Dashboard.php
old mode 100644
new mode 100755
diff --git a/app/Views/Operator/circularscripts.php b/app/Views/Operator/circularscripts.php
old mode 100644
new mode 100755
diff --git a/app/Views/Operator/demo_nk.php b/app/Views/Operator/demo_nk.php
old mode 100644
new mode 100755
diff --git a/app/Views/Operator/operator_header.php b/app/Views/Operator/operator_header.php
old mode 100644
new mode 100755
diff --git a/app/Views/Operator/operator_login.php b/app/Views/Operator/operator_login.php
old mode 100644
new mode 100755
diff --git a/app/Views/Operator/operator_view(2).php b/app/Views/Operator/operator_view(2).php
old mode 100644
new mode 100755
diff --git a/app/Views/Operator/operator_view.php b/app/Views/Operator/operator_view.php
old mode 100644
new mode 100755
diff --git a/app/Views/Production_Corrections.php b/app/Views/Production_Corrections.php
old mode 100644
new mode 100755
diff --git a/app/Views/Production_Downtime.php b/app/Views/Production_Downtime.php
old mode 100644
new mode 100755
diff --git a/app/Views/Production_Rejection.php b/app/Views/Production_Rejection.php
old mode 100644
new mode 100755
diff --git a/app/Views/Quality_Production.php b/app/Views/Quality_Production.php
old mode 100644
new mode 100755
diff --git a/app/Views/Settings_Goals_Others.php b/app/Views/Settings_Goals_Others.php
old mode 100644
new mode 100755
diff --git a/app/Views/Settings_Machines.php b/app/Views/Settings_Machines.php
old mode 100644
new mode 100755
diff --git a/app/Views/Settings_Tools.php b/app/Views/Settings_Tools.php
old mode 100644
new mode 100755
diff --git a/app/Views/Settings_Users.php b/app/Views/Settings_Users.php
old mode 100644
new mode 100755
diff --git a/app/Views/User_Login.php b/app/Views/User_Login.php
old mode 100644
new mode 100755
diff --git a/app/Views/Work_Order_Management.php b/app/Views/Work_Order_Management.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/Financial_FOeeDrillDown_old.php b/app/Views/errors/Financial_FOeeDrillDown_old.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/Production_Corrections.php b/app/Views/errors/Production_Corrections.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/Production_Downtime.php b/app/Views/errors/Production_Downtime.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/Production_Rejection.php b/app/Views/errors/Production_Rejection.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/cli/error_404.php b/app/Views/errors/cli/error_404.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/cli/error_exception.php b/app/Views/errors/cli/error_exception.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/cli/production.php b/app/Views/errors/cli/production.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/html/debug.css b/app/Views/errors/html/debug.css
old mode 100644
new mode 100755
diff --git a/app/Views/errors/html/debug.js b/app/Views/errors/html/debug.js
old mode 100644
new mode 100755
diff --git a/app/Views/errors/html/error_404.php b/app/Views/errors/html/error_404.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/html/error_exception.php b/app/Views/errors/html/error_exception.php
old mode 100644
new mode 100755
diff --git a/app/Views/errors/html/production.php b/app/Views/errors/html/production.php
old mode 100644
new mode 100755
diff --git a/app/Views/general_settings_load.php b/app/Views/general_settings_load.php
old mode 100644
new mode 100755
diff --git a/app/Views/validation_scripts.php b/app/Views/validation_scripts.php
old mode 100644
new mode 100755
diff --git a/app/Views/welcome_message.php b/app/Views/welcome_message.php
old mode 100644
new mode 100755
diff --git a/app/index.html b/app/index.html
old mode 100644
new mode 100755
diff --git a/assets/Database/S10011_structure.sql b/assets/Database/S10011_structure.sql
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/apexcharts.amd.js b/assets/apexchart/dist/apexcharts.amd.js
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/apexcharts.amd.js.LICENSE.txt b/assets/apexchart/dist/apexcharts.amd.js.LICENSE.txt
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/apexcharts.common.js b/assets/apexchart/dist/apexcharts.common.js
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/apexcharts.css b/assets/apexchart/dist/apexcharts.css
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/apexcharts.esm.js b/assets/apexchart/dist/apexcharts.esm.js
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/apexcharts.js b/assets/apexchart/dist/apexcharts.js
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/apexcharts.min.js b/assets/apexchart/dist/apexcharts.min.js
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/ar.json b/assets/apexchart/dist/locales/ar.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/ca.json b/assets/apexchart/dist/locales/ca.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/cs.json b/assets/apexchart/dist/locales/cs.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/de.json b/assets/apexchart/dist/locales/de.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/el.json b/assets/apexchart/dist/locales/el.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/en.json b/assets/apexchart/dist/locales/en.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/es.json b/assets/apexchart/dist/locales/es.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/et.json b/assets/apexchart/dist/locales/et.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/fa.json b/assets/apexchart/dist/locales/fa.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/fi.json b/assets/apexchart/dist/locales/fi.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/fr.json b/assets/apexchart/dist/locales/fr.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/he.json b/assets/apexchart/dist/locales/he.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/hi.json b/assets/apexchart/dist/locales/hi.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/hr.json b/assets/apexchart/dist/locales/hr.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/hu.json b/assets/apexchart/dist/locales/hu.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/hy.json b/assets/apexchart/dist/locales/hy.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/id.json b/assets/apexchart/dist/locales/id.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/it.json b/assets/apexchart/dist/locales/it.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/ja.json b/assets/apexchart/dist/locales/ja.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/ka.json b/assets/apexchart/dist/locales/ka.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/ko.json b/assets/apexchart/dist/locales/ko.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/lt.json b/assets/apexchart/dist/locales/lt.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/lv.json b/assets/apexchart/dist/locales/lv.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/nb.json b/assets/apexchart/dist/locales/nb.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/nl.json b/assets/apexchart/dist/locales/nl.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/pl.json b/assets/apexchart/dist/locales/pl.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/pt-br.json b/assets/apexchart/dist/locales/pt-br.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/pt.json b/assets/apexchart/dist/locales/pt.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/rs.json b/assets/apexchart/dist/locales/rs.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/ru.json b/assets/apexchart/dist/locales/ru.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/se.json b/assets/apexchart/dist/locales/se.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/sk.json b/assets/apexchart/dist/locales/sk.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/sl.json b/assets/apexchart/dist/locales/sl.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/sq.json b/assets/apexchart/dist/locales/sq.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/th.json b/assets/apexchart/dist/locales/th.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/tr.json b/assets/apexchart/dist/locales/tr.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/ua.json b/assets/apexchart/dist/locales/ua.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/zh-cn.json b/assets/apexchart/dist/locales/zh-cn.json
old mode 100644
new mode 100755
diff --git a/assets/apexchart/dist/locales/zh-tw.json b/assets/apexchart/dist/locales/zh-tw.json
old mode 100644
new mode 100755
diff --git a/assets/chart/chart.min.js b/assets/chart/chart.min.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/chart.html b/assets/chartjs/chart.html
old mode 100644
new mode 100755
diff --git a/assets/chartjs/chart.min.js b/assets/chartjs/chart.min.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/chart1.html b/assets/chartjs/chart1.html
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/LICENSE.md b/assets/chartjs/package/LICENSE.md
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/README.md b/assets/chartjs/package/README.md
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/auto/auto.js b/assets/chartjs/package/auto/auto.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/auto/auto.mjs b/assets/chartjs/package/auto/auto.mjs
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/auto/auto.mts b/assets/chartjs/package/auto/auto.mts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/auto/package.json b/assets/chartjs/package/auto/package.json
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/chart.esm.js b/assets/chartjs/package/dist/chart.esm.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/chart.js b/assets/chartjs/package/dist/chart.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/chart.min.js b/assets/chartjs/package/dist/chart.min.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/chart.mjs b/assets/chartjs/package/dist/chart.mjs
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/chartjs-plugin-datalabels.min.js b/assets/chartjs/package/dist/chartjs-plugin-datalabels.min.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/chunks/helpers.segment.js b/assets/chartjs/package/dist/chunks/helpers.segment.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/chunks/helpers.segment.mjs b/assets/chartjs/package/dist/chunks/helpers.segment.mjs
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/helpers.esm.js b/assets/chartjs/package/dist/helpers.esm.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/dist/helpers.mjs b/assets/chartjs/package/dist/helpers.mjs
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/helpers/helpers.js b/assets/chartjs/package/helpers/helpers.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/helpers/helpers.mjs b/assets/chartjs/package/helpers/helpers.mjs
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/helpers/helpers.mts b/assets/chartjs/package/helpers/helpers.mts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/helpers/package.json b/assets/chartjs/package/helpers/package.json
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/package.json b/assets/chartjs/package/package.json
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/.eslintrc.yml b/assets/chartjs/package/types/.eslintrc.yml
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/adapters.d.ts b/assets/chartjs/package/types/adapters.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/animation.d.ts b/assets/chartjs/package/types/animation.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/basic.d.ts b/assets/chartjs/package/types/basic.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/color.d.ts b/assets/chartjs/package/types/color.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/element.d.ts b/assets/chartjs/package/types/element.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/geometric.d.ts b/assets/chartjs/package/types/geometric.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.canvas.d.ts b/assets/chartjs/package/types/helpers/helpers.canvas.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.collection.d.ts b/assets/chartjs/package/types/helpers/helpers.collection.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.color.d.ts b/assets/chartjs/package/types/helpers/helpers.color.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.core.d.ts b/assets/chartjs/package/types/helpers/helpers.core.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.curve.d.ts b/assets/chartjs/package/types/helpers/helpers.curve.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.dom.d.ts b/assets/chartjs/package/types/helpers/helpers.dom.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.easing.d.ts b/assets/chartjs/package/types/helpers/helpers.easing.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.extras.d.ts b/assets/chartjs/package/types/helpers/helpers.extras.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.interpolation.d.ts b/assets/chartjs/package/types/helpers/helpers.interpolation.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.intl.d.ts b/assets/chartjs/package/types/helpers/helpers.intl.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.math.d.ts b/assets/chartjs/package/types/helpers/helpers.math.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.options.d.ts b/assets/chartjs/package/types/helpers/helpers.options.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.rtl.d.ts b/assets/chartjs/package/types/helpers/helpers.rtl.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/helpers.segment.d.ts b/assets/chartjs/package/types/helpers/helpers.segment.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/helpers/index.d.ts b/assets/chartjs/package/types/helpers/index.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/index.esm.d.ts b/assets/chartjs/package/types/index.esm.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/layout.d.ts b/assets/chartjs/package/types/layout.d.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/.eslintrc.yml b/assets/chartjs/package/types/tests/.eslintrc.yml
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/animation.ts b/assets/chartjs/package/types/tests/animation.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/autogen.js b/assets/chartjs/package/types/tests/autogen.js
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/chart_types.ts b/assets/chartjs/package/types/tests/chart_types.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/bubble_chart_options.ts b/assets/chartjs/package/types/tests/controllers/bubble_chart_options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/doughnut_meta_total.ts b/assets/chartjs/package/types/tests/controllers/doughnut_meta_total.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/doughnut_offset.ts b/assets/chartjs/package/types/tests/controllers/doughnut_offset.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/doughnut_outer_radius.ts b/assets/chartjs/package/types/tests/controllers/doughnut_outer_radius.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/line_scriptable_parsed_data.ts b/assets/chartjs/package/types/tests/controllers/line_scriptable_parsed_data.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/line_segments.ts b/assets/chartjs/package/types/tests/controllers/line_segments.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/line_span_gaps.ts b/assets/chartjs/package/types/tests/controllers/line_span_gaps.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/line_styling_array.ts b/assets/chartjs/package/types/tests/controllers/line_styling_array.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/controllers/radar_dataset_indexable_options.ts b/assets/chartjs/package/types/tests/controllers/radar_dataset_indexable_options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/data_types.ts b/assets/chartjs/package/types/tests/data_types.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/dataset_null_data.ts b/assets/chartjs/package/types/tests/dataset_null_data.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/defaults.ts b/assets/chartjs/package/types/tests/defaults.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/elements/scriptable_element_options.ts b/assets/chartjs/package/types/tests/elements/scriptable_element_options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/extensions/plugin.ts b/assets/chartjs/package/types/tests/extensions/plugin.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/extensions/scale.ts b/assets/chartjs/package/types/tests/extensions/scale.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/helpers/options.ts b/assets/chartjs/package/types/tests/helpers/options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/interaction.ts b/assets/chartjs/package/types/tests/interaction.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/layout/position.ts b/assets/chartjs/package/types/tests/layout/position.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/options.ts b/assets/chartjs/package/types/tests/options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/overrides.ts b/assets/chartjs/package/types/tests/overrides.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/parsed.data.type.ts b/assets/chartjs/package/types/tests/parsed.data.type.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/defaults.ts b/assets/chartjs/package/types/tests/plugins/defaults.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/plugin.decimation/decimation_algorithm.ts b/assets/chartjs/package/types/tests/plugins/plugin.decimation/decimation_algorithm.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/plugin.filler/fill_target_true.ts b/assets/chartjs/package/types/tests/plugins/plugin.filler/fill_target_true.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/plugin.tooltip/chart.tooltip.ts b/assets/chartjs/package/types/tests/plugins/plugin.tooltip/chart.tooltip.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_dataset_type.ts b/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_dataset_type.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_parsed_data.ts b/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_parsed_data.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_parsed_data_chart_defaults.ts b/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_parsed_data_chart_defaults.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_scriptable_background_color.ts b/assets/chartjs/package/types/tests/plugins/plugin.tooltip/tooltip_scriptable_background_color.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/register.ts b/assets/chartjs/package/types/tests/register.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/scales/chart_options.ts b/assets/chartjs/package/types/tests/scales/chart_options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/scales/options.ts b/assets/chartjs/package/types/tests/scales/options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/scales/time_string_max.ts b/assets/chartjs/package/types/tests/scales/time_string_max.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/scriptable.ts b/assets/chartjs/package/types/tests/scriptable.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/scriptable_core_chart_options.ts b/assets/chartjs/package/types/tests/scriptable_core_chart_options.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/test_instance_assignment.ts b/assets/chartjs/package/types/tests/test_instance_assignment.ts
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/tests/tsconfig.json b/assets/chartjs/package/types/tests/tsconfig.json
old mode 100644
new mode 100755
diff --git a/assets/chartjs/package/types/utils.d.ts b/assets/chartjs/package/types/utils.d.ts
old mode 100644
new mode 100755
diff --git a/assets/css/Downtime_production.css b/assets/css/Downtime_production.css
old mode 100644
new mode 100755
diff --git a/assets/css/alert_settings.css b/assets/css/alert_settings.css
old mode 100644
new mode 100755
diff --git a/assets/css/all-fontawesome.css b/assets/css/all-fontawesome.css
old mode 100644
new mode 100755
diff --git a/assets/css/common.css b/assets/css/common.css
old mode 100644
new mode 100755
diff --git a/assets/css/config.css b/assets/css/config.css
old mode 100644
new mode 100755
diff --git a/assets/css/css_demo1.css b/assets/css/css_demo1.css
old mode 100644
new mode 100755
diff --git a/assets/css/css_general.css b/assets/css/css_general.css
old mode 100644
new mode 100755
diff --git a/assets/css/current_shift.css b/assets/css/current_shift.css
old mode 100644
new mode 100755
diff --git a/assets/css/current_shift_performance.css b/assets/css/current_shift_performance.css
old mode 100644
new mode 100755
diff --git a/assets/css/financial_metrics.css b/assets/css/financial_metrics.css
old mode 100644
new mode 100755
diff --git a/assets/css/general_settings.css b/assets/css/general_settings.css
old mode 100644
new mode 100755
diff --git a/assets/css/general_settings_sub.css b/assets/css/general_settings_sub.css
old mode 100644
new mode 100755
diff --git a/assets/css/graph.css b/assets/css/graph.css
old mode 100644
new mode 100755
diff --git a/assets/css/issue_management.css b/assets/css/issue_management.css
old mode 100644
new mode 100755
diff --git a/assets/css/jquery.datetimepicker.min.css b/assets/css/jquery.datetimepicker.min.css
old mode 100644
new mode 100755
diff --git a/assets/css/login.css b/assets/css/login.css
old mode 100644
new mode 100755
diff --git a/assets/css/main.css b/assets/css/main.css
old mode 100644
new mode 100755
diff --git a/assets/css/model.css b/assets/css/model.css
old mode 100644
new mode 100755
diff --git a/assets/css/model1.css b/assets/css/model1.css
old mode 100644
new mode 100755
diff --git a/assets/css/model_size.css b/assets/css/model_size.css
old mode 100644
new mode 100755
diff --git a/assets/css/model_size_css.css b/assets/css/model_size_css.css
old mode 100644
new mode 100755
diff --git a/assets/css/model_sub.css b/assets/css/model_sub.css
old mode 100644
new mode 100755
diff --git a/assets/css/model_sub_test.css b/assets/css/model_sub_test.css
old mode 100644
new mode 100755
diff --git a/assets/css/model_test1.css b/assets/css/model_test1.css
old mode 100644
new mode 100755
diff --git a/assets/css/multi-dropdown.css b/assets/css/multi-dropdown.css
old mode 100644
new mode 100755
diff --git a/assets/css/oee_drill_down.css b/assets/css/oee_drill_down.css
old mode 100644
new mode 100755
diff --git a/assets/css/operatorcss.css b/assets/css/operatorcss.css
old mode 100644
new mode 100755
diff --git a/assets/css/oui_current_shift_performance.css b/assets/css/oui_current_shift_performance.css
old mode 100644
new mode 100755
diff --git a/assets/css/pre_loader.css b/assets/css/pre_loader.css
old mode 100644
new mode 100755
diff --git a/assets/css/production.css b/assets/css/production.css
old mode 100644
new mode 100755
diff --git a/assets/css/sidemenubar.css b/assets/css/sidemenubar.css
old mode 100644
new mode 100755
diff --git a/assets/css/standard/config.css b/assets/css/standard/config.css
old mode 100644
new mode 100755
diff --git a/assets/css/standard/layout.css b/assets/css/standard/layout.css
old mode 100644
new mode 100755
diff --git a/assets/css/standard/template.css b/assets/css/standard/template.css
old mode 100644
new mode 100755
diff --git a/assets/css/standard/template_oui.css b/assets/css/standard/template_oui.css
old mode 100644
new mode 100755
diff --git a/assets/css/styles_production_quality.css b/assets/css/styles_production_quality.css
old mode 100644
new mode 100755
diff --git a/assets/css/user_management.css b/assets/css/user_management.css
old mode 100644
new mode 100755
diff --git a/assets/css/user_management_sub.css b/assets/css/user_management_sub.css
old mode 100644
new mode 100755
diff --git a/assets/css/user_management_sub2.css b/assets/css/user_management_sub2.css
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/EBGaramond-Italic-VariableFont_wght.ttf b/assets/fonts/EB_Garamond/EBGaramond-Italic-VariableFont_wght.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/EBGaramond-VariableFont_wght.ttf b/assets/fonts/EB_Garamond/EBGaramond-VariableFont_wght.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/OFL.txt b/assets/fonts/EB_Garamond/OFL.txt
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/README.txt b/assets/fonts/EB_Garamond/README.txt
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-Bold.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-Bold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-BoldItalic.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-BoldItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-ExtraBold.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-ExtraBold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-ExtraBoldItalic.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-ExtraBoldItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-Italic.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-Italic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-Medium.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-Medium.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-MediumItalic.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-MediumItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-Regular.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-Regular.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-SemiBold.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-SemiBold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/EB_Garamond/static/EBGaramond-SemiBoldItalic.ttf b/assets/fonts/EB_Garamond/static/EBGaramond-SemiBoldItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Libre_Baskerville/LibreBaskerville-Bold.ttf b/assets/fonts/Libre_Baskerville/LibreBaskerville-Bold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Libre_Baskerville/LibreBaskerville-Italic.ttf b/assets/fonts/Libre_Baskerville/LibreBaskerville-Italic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf b/assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Libre_Baskerville/OFL.txt b/assets/fonts/Libre_Baskerville/OFL.txt
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-Black.ttf b/assets/fonts/Merriweather/Merriweather-Black.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-BlackItalic.ttf b/assets/fonts/Merriweather/Merriweather-BlackItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-Bold.ttf b/assets/fonts/Merriweather/Merriweather-Bold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-BoldItalic.ttf b/assets/fonts/Merriweather/Merriweather-BoldItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-Italic.ttf b/assets/fonts/Merriweather/Merriweather-Italic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-Light.ttf b/assets/fonts/Merriweather/Merriweather-Light.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-LightItalic.ttf b/assets/fonts/Merriweather/Merriweather-LightItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/Merriweather-Regular.ttf b/assets/fonts/Merriweather/Merriweather-Regular.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Merriweather/OFL.txt b/assets/fonts/Merriweather/OFL.txt
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/LICENSE.txt b/assets/fonts/Roboto/LICENSE.txt
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-Black.ttf b/assets/fonts/Roboto/Roboto-Black.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-BlackItalic.ttf b/assets/fonts/Roboto/Roboto-BlackItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-Bold.ttf b/assets/fonts/Roboto/Roboto-Bold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-BoldItalic.ttf b/assets/fonts/Roboto/Roboto-BoldItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-Italic.ttf b/assets/fonts/Roboto/Roboto-Italic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-Light.ttf b/assets/fonts/Roboto/Roboto-Light.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-LightItalic.ttf b/assets/fonts/Roboto/Roboto-LightItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-Medium.ttf b/assets/fonts/Roboto/Roboto-Medium.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-MediumItalic.ttf b/assets/fonts/Roboto/Roboto-MediumItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-Regular.ttf b/assets/fonts/Roboto/Roboto-Regular.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-Thin.ttf b/assets/fonts/Roboto/Roboto-Thin.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Roboto/Roboto-ThinItalic.ttf b/assets/fonts/Roboto/Roboto-ThinItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/OFL.txt b/assets/fonts/Source_Serif_Pro/OFL.txt
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-Black.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-Black.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-BlackItalic.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-BlackItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-Bold.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-Bold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-BoldItalic.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-BoldItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-ExtraLight.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-ExtraLight.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-ExtraLightItalic.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-ExtraLightItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-Italic.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-Italic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-Light.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-Light.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-LightItalic.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-LightItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-Regular.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-Regular.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-SemiBold.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-SemiBold.ttf
old mode 100644
new mode 100755
diff --git a/assets/fonts/Source_Serif_Pro/SourceSerifPro-SemiBoldItalic.ttf b/assets/fonts/Source_Serif_Pro/SourceSerifPro-SemiBoldItalic.ttf
old mode 100644
new mode 100755
diff --git a/assets/icons/arrow.png b/assets/icons/arrow.png
old mode 100644
new mode 100755
diff --git a/assets/icons/cancel.png b/assets/icons/cancel.png
old mode 100644
new mode 100755
diff --git a/assets/icons/cancel1.png b/assets/icons/cancel1.png
old mode 100644
new mode 100755
diff --git a/assets/icons/duration_logo.png b/assets/icons/duration_logo.png
old mode 100644
new mode 100755
diff --git a/assets/icons/edit.png b/assets/icons/edit.png
old mode 100644
new mode 100755
diff --git a/assets/icons/menu.png b/assets/icons/menu.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_financial_oee.png b/assets/icons/nav_financial_oee.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_financial_oee_active.png b/assets/icons/nav_financial_oee_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_financial_opportunity.png b/assets/icons/nav_financial_opportunity.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_financial_opportunity_active.png b/assets/icons/nav_financial_opportunity_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_alert.png b/assets/icons/nav_icon_alert.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_alert_active.png b/assets/icons/nav_icon_alert_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_current_shift.png b/assets/icons/nav_icon_current_shift.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_current_shift_active.png b/assets/icons/nav_icon_current_shift_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_downtime.png b/assets/icons/nav_icon_downtime.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_downtime_active.png b/assets/icons/nav_icon_downtime_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_financial.png b/assets/icons/nav_icon_financial.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_financial_active.png b/assets/icons/nav_icon_financial_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_issue.png b/assets/icons/nav_icon_issue.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_issue_active.png b/assets/icons/nav_icon_issue_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_pdm.png b/assets/icons/nav_icon_pdm.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_pdm_active.png b/assets/icons/nav_icon_pdm_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_quality.png b/assets/icons/nav_icon_quality.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_quality_active.png b/assets/icons/nav_icon_quality_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_settings.png b/assets/icons/nav_icon_settings.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_icon_settings_active.png b/assets/icons/nav_icon_settings_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_settings_general.png b/assets/icons/nav_settings_general.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_settings_general_active.png b/assets/icons/nav_settings_general_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_settings_user.png b/assets/icons/nav_settings_user.png
old mode 100644
new mode 100755
diff --git a/assets/icons/nav_settings_user_active.png b/assets/icons/nav_settings_user_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/pdm_corrections.png b/assets/icons/pdm_corrections.png
old mode 100644
new mode 100755
diff --git a/assets/icons/pdm_corrections_active.png b/assets/icons/pdm_corrections_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/pdm_downtime.png b/assets/icons/pdm_downtime.png
old mode 100644
new mode 100755
diff --git a/assets/icons/pdm_downtime_active.png b/assets/icons/pdm_downtime_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/pdm_quality.png b/assets/icons/pdm_quality.png
old mode 100644
new mode 100755
diff --git a/assets/icons/pdm_quality_active.png b/assets/icons/pdm_quality_active.png
old mode 100644
new mode 100755
diff --git a/assets/icons/user.png b/assets/icons/user.png
old mode 100644
new mode 100755
diff --git a/assets/img/Myproject.png b/assets/img/Myproject.png
old mode 100644
new mode 100755
diff --git a/assets/img/activate.png b/assets/img/activate.png
old mode 100644
new mode 100755
diff --git a/assets/img/back.png b/assets/img/back.png
old mode 100644
new mode 100755
diff --git a/assets/img/delete.png b/assets/img/delete.png
old mode 100644
new mode 100755
diff --git a/assets/img/download.png b/assets/img/download.png
old mode 100644
new mode 100755
diff --git a/assets/img/email_smartmach_new_logo.png b/assets/img/email_smartmach_new_logo.png
old mode 100644
new mode 100755
diff --git a/assets/img/email_smartories_logo.png b/assets/img/email_smartories_logo.png
old mode 100644
new mode 100755
diff --git a/assets/img/filter_reset.png b/assets/img/filter_reset.png
old mode 100644
new mode 100755
diff --git a/assets/img/greater.png b/assets/img/greater.png
old mode 100644
new mode 100755
diff --git a/assets/img/info.png b/assets/img/info.png
old mode 100644
new mode 100755
diff --git a/assets/img/info_reason.png b/assets/img/info_reason.png
old mode 100644
new mode 100755
diff --git a/assets/img/inr-logo.png b/assets/img/inr-logo.png
old mode 100644
new mode 100755
diff --git a/assets/img/issue.png b/assets/img/issue.png
old mode 100644
new mode 100755
diff --git a/assets/img/logo.png b/assets/img/logo.png
old mode 100644
new mode 100755
diff --git a/assets/img/logo1.png b/assets/img/logo1.png
old mode 100644
new mode 100755
diff --git a/assets/img/logo_old.png b/assets/img/logo_old.png
old mode 100644
new mode 100755
diff --git a/assets/img/mail_demo.png b/assets/img/mail_demo.png
old mode 100644
new mode 100755
diff --git a/assets/img/nav_icon_financial.png b/assets/img/nav_icon_financial.png
old mode 100644
new mode 100755
diff --git a/assets/img/nav_settings_user.png b/assets/img/nav_settings_user.png
old mode 100644
new mode 100755
diff --git a/assets/img/notes.png b/assets/img/notes.png
old mode 100644
new mode 100755
diff --git a/assets/img/oui_arrow.png b/assets/img/oui_arrow.png
old mode 100644
new mode 100755
diff --git a/assets/img/paddingm b/assets/img/paddingm
old mode 100644
new mode 100755
diff --git a/assets/img/pencil.png b/assets/img/pencil.png
old mode 100644
new mode 100755
diff --git a/assets/img/plus-icon.png b/assets/img/plus-icon.png
old mode 100644
new mode 100755
diff --git a/assets/img/smartories_logo.png b/assets/img/smartories_logo.png
old mode 100644
new mode 100755
diff --git a/assets/img/split.png b/assets/img/split.png
old mode 100644
new mode 100755
diff --git a/assets/img/tick.png b/assets/img/tick.png
old mode 100644
new mode 100755
diff --git a/assets/js/Downtime_Production.js b/assets/js/Downtime_Production.js
old mode 100644
new mode 100755
diff --git a/assets/js/Settings_Goals_Others_Validation.js b/assets/js/Settings_Goals_Others_Validation.js
old mode 100644
new mode 100755
diff --git a/assets/js/add_input_tags_js.js b/assets/js/add_input_tags_js.js
old mode 100644
new mode 100755
diff --git a/assets/js/alert_setting_validation.js b/assets/js/alert_setting_validation.js
old mode 100644
new mode 100755
diff --git a/assets/js/alert_settings.js b/assets/js/alert_settings.js
old mode 100644
new mode 100755
diff --git a/assets/js/all-fontawesome.js b/assets/js/all-fontawesome.js
old mode 100644
new mode 100755
diff --git a/assets/js/common.js b/assets/js/common.js
old mode 100644
new mode 100755
diff --git a/assets/js/custom_date_format.js b/assets/js/custom_date_format.js
old mode 100644
new mode 100755
diff --git a/assets/js/datetimepicker.full.min.js b/assets/js/datetimepicker.full.min.js
old mode 100644
new mode 100755
diff --git a/assets/js/datetimepicker.js b/assets/js/datetimepicker.js
old mode 100644
new mode 100755
diff --git a/assets/js/jquery.datetimepicker.js b/assets/js/jquery.datetimepicker.js
old mode 100644
new mode 100755
diff --git a/assets/js/jquery.fullscreen.min.js b/assets/js/jquery.fullscreen.min.js
old mode 100644
new mode 100755
diff --git a/assets/js/jquery_datetimepicker_js.js b/assets/js/jquery_datetimepicker_js.js
old mode 100644
new mode 100755
diff --git a/assets/js/last_updated.js b/assets/js/last_updated.js
old mode 100644
new mode 100755
diff --git a/assets/js/oee_drill_down.js b/assets/js/oee_drill_down.js
old mode 100644
new mode 100755
diff --git a/assets/js/settings_machine_validation.js b/assets/js/settings_machine_validation.js
old mode 100644
new mode 100755
diff --git a/assets/js/settings_tools_validation.js b/assets/js/settings_tools_validation.js
old mode 100644
new mode 100755
diff --git a/assets/js/settings_user_validation.js b/assets/js/settings_user_validation.js
old mode 100644
new mode 100755
diff --git a/assets/js/work_order_validation.js b/assets/js/work_order_validation.js
old mode 100644
new mode 100755
diff --git a/assets/timepicker_js/jquery.timepicker.css b/assets/timepicker_js/jquery.timepicker.css
old mode 100644
new mode 100755
diff --git a/assets/timepicker_js/jquery.timepicker.js b/assets/timepicker_js/jquery.timepicker.js
old mode 100644
new mode 100755