diff --git a/application/controllers/employeedetails.php b/application/controllers/employeedetails.php index ea5cf886..00ff9447 100644 --- a/application/controllers/employeedetails.php +++ b/application/controllers/employeedetails.php @@ -324,6 +324,7 @@ echo ""; print_r($query); } + function pageNotFound() { $this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found'; diff --git a/application/controllers/payslip.php b/application/controllers/payslip.php index 559fbabc..2064b0bf 100644 --- a/application/controllers/payslip.php +++ b/application/controllers/payslip.php @@ -326,6 +326,12 @@ function getEmployee() } + function updatepayroll() + { + $this->global['pageTitle'] = 'Update Payroll'; + + $this->loadViews("payslipeditable", $this->global, NULL , NULL); + } function pageNotFound() { diff --git a/application/logs/log-2017-05-04.php b/application/logs/log-2017-05-04.php new file mode 100644 index 00000000..d60995ba --- /dev/null +++ b/application/logs/log-2017-05-04.php @@ -0,0 +1,23 @@ + + +ERROR - 2017-05-04 12:39:43 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. + C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77 +ERROR - 2017-05-04 12:39:43 --> Unable to connect to the database +ERROR - 2017-05-04 12:40:17 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:40:17 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:40:17 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:41:09 --> Severity: Warning --> mysqli_connect(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. + C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77 +ERROR - 2017-05-04 12:41:09 --> Unable to connect to the database +ERROR - 2017-05-04 12:42:33 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:33 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:33 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:37 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:37 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:37 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:42:50 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:49:04 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:49:04 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 +ERROR - 2017-05-04 12:49:04 --> Severity: Notice --> Undefined index: PayOn C:\xampp\htdocs\siddharth_application\application\views\payslipgenerate.php 86 diff --git a/application/views/addCostCenter.php b/application/views/addCostCenter.php index 9950c462..702d6a4a 100644 --- a/application/views/addCostCenter.php +++ b/application/views/addCostCenter.php @@ -1,5 +1,3 @@ - -
| Budget Type | Budget Year | @@ -394,5 +393,25 @@ alert("Before remove please select any position."); } }); - + + +$(function () { + $("td").dblclick(function () { + var OriginalContent = $(this).text(); + $(this).addClass("cellEditing"); + $(this).html(""); + $(this).children().first().focus(); + $(this).children().first().keypress(function (e) { + if (e.which == 13) { + var newContent = $(this).val(); + $(this).parent().text(newContent); + $(this).parent().removeClass("cellEditing"); + } }); + $(this).children().first().blur(function(){ + $(this).parent().text(OriginalContent); + $(this).parent().removeClass("cellEditing"); + }); + }); + }); + \ No newline at end of file diff --git a/application/views/costListing.php b/application/views/costListing.php index 397646fa..5cdde288 100644 --- a/application/views/costListing.php +++ b/application/views/costListing.php @@ -18,7 +18,7 @@
|---|