diff --git a/application/controllers/amendmentpurchaseorder.php b/application/controllers/amendmentpurchaseorder.php
index 79c4d2f3..4d083c38 100755
--- a/application/controllers/amendmentpurchaseorder.php
+++ b/application/controllers/amendmentpurchaseorder.php
@@ -286,7 +286,7 @@ class amendmentpurchaseorder extends BaseController
$POType = $this->input->post('POType');
- $PoRange = $this->input->post('txtPoRange');
+ $PoRange = $this->input->post('Range');
$PaymentTermsText=$this->input->post('beforePaymentTermsText');
$PaymentTerms=$this->input->post('PaymentTerms');
$Otherpayment=$this->input->post('Otherpayment');
@@ -332,7 +332,7 @@ class amendmentpurchaseorder extends BaseController
}
- $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID,'POType'=>$POType,'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpecialInstruction,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD);
+ $POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID,'POType'=>$POType,'CapitalRange'=>$PoRange,'TotalOrderValue'=>$TotalOrderValueSummary,'PODate'=>$PODate,'Status'=>PO_RELEASED,'PaymentTerms'=>$PaymentTerms,'PaymentOtherDescription'=>$Otherpayment,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ServiceDescription'=>$SpecialInstruction,'CreatedBy'=>$updatedBy,'DeliveryAddress'=>$DeliveryAddr,'DeliveryDate'=>$Deliverydt,'UpdatedOn'=>$updateddt,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'AmendedDetails'=>$MAD);
//print_r($POMaster);
diff --git a/application/controllers/monthlypay.php b/application/controllers/monthlypay.php
index e975ae11..e53f1ad8 100755
--- a/application/controllers/monthlypay.php
+++ b/application/controllers/monthlypay.php
@@ -91,7 +91,7 @@ class monthlypay extends BaseController
$this->form_validation->set_rules('LOP_days','LOP_days','trim|required');
$this->form_validation->set_rules('OT_Hrs_Worked','OT_Hrs_Worked','trim|required');
$this->form_validation->set_rules('Loan_Recovered','Loan_Recovered','trim|required');
- $this->form_validation->set_rules('Loan_Balance','Loan_Balance','trim|required');
+
$this->form_validation->set_rules('Incentives','Incentives','trim|required');
$this->form_validation->set_rules('Other_Deductions','Other_Deductions','trim|required');
@@ -106,7 +106,7 @@ class monthlypay extends BaseController
$LOP_days = $this->input->post('LOP_days');
$OT_Hrs_Worked = $this->input->post('OT_Hrs_Worked');
$Loan_Recovered = $this->input->post('Loan_Recovered');
- $Loan_Balance = $this->input->post('Loan_Balance');
+
$Incentives = $this->input->post('Incentives');
$Other_Deductions = $this->input->post('Other_Deductions');
@@ -120,7 +120,7 @@ class monthlypay extends BaseController
if(count($CodeExists) == 0)
{
- $montlypay = array('month_year'=>$month_year, 'emp_id'=>$emp_id,'LOP_days'=>$LOP_days,'OT_Hrs_Worked'=>$Loan_Recovered,'Loan_Balance'=>$Loan_Balance,'Incentives'=>$Incentives,'Other_Deductions'=>$Other_Deductions,'CreatedBy'=>$CreateBy,'createdDate'=>$createddt);
+ $montlypay = array('month_year'=>$month_year, 'emp_id'=>$emp_id,'LOP_days'=>$LOP_days,'OT_Hrs_Worked'=>$Loan_Recovered,'Incentives'=>$Incentives,'Other_Deductions'=>$Other_Deductions,'CreatedBy'=>$CreateBy,'createdDate'=>$createddt);
$this->monthlypay_model->addNewmonthly($monthlypay);
}
@@ -192,7 +192,7 @@ class monthlypay extends BaseController
$LOP_Days =$this->input->post('LOP_Days');
$OT_Hrs_Worked = $this->input->post('OT_Hrs_Worked');
$Loan_Recovered = $this->input->post('Loan_Recovered');
- $Loan_Balance = $this->input->post('Loan_Balance');
+
$Incentives = $this->input->post('Incentives');
$Other_Deductions = $this->input->post('Other_Deductions');
$LastModBy = $this->session->userdata ( 'userId' );
@@ -205,7 +205,7 @@ class monthlypay extends BaseController
$monthdata = array();
- $monthdata = array('Month_Year'=>$month_year,'EmpID'=>$EmpID,'LOP_Days'=>$LOP_Days,'OT_Hrs_Worked'=>$OT_Hrs_Worked,'Loan_Recovered'=>$Loan_Recovered,'Loan_Balance'=>$Loan_Balance,'Incentives'=>$Incentives,'Other_Deductions'=>$Other_Deductions,'Last_Mod_By'=>$LastModBy,'Last_Mod_Time'=>$LastModTime);
+ $monthdata = array('Month_Year'=>$month_year,'EmpID'=>$EmpID,'LOP_Days'=>$LOP_Days,'OT_Hrs_Worked'=>$OT_Hrs_Worked,'Incentives'=>$Incentives,'Other_Deductions'=>$Other_Deductions,'Last_Mod_By'=>$LastModBy,'Last_Mod_Time'=>$LastModTime);
diff --git a/application/logs/log-2017-09-01.php b/application/logs/log-2017-09-01.php
new file mode 100644
index 00000000..40caa029
--- /dev/null
+++ b/application/logs/log-2017-09-01.php
@@ -0,0 +1,18 @@
+
+
+ERROR - 2017-09-01 07:39:43 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\system\database\drivers\mysqli\mysqli_result.php 38
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: l C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 263
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Trying to get property of non-object C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 263
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: l C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Trying to get property of non-object C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: tax C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: l C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Trying to get property of non-object C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: l C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 263
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Trying to get property of non-object C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 263
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: l C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Trying to get property of non-object C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: tax C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Undefined variable: l C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:16 --> Severity: Notice --> Trying to get property of non-object C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\views\revenuepopdf.php 265
+ERROR - 2017-09-01 07:44:17 --> Severity: Warning --> explode() expects parameter 2 to be string, array given C:\5.6\xampp\htdocs\SIA\SIANEW\siddharth_application\application\third_party\dompdf\include\style.cls.php 948
diff --git a/application/models/monthlypay_model.php b/application/models/monthlypay_model.php
index f3c63dad..409d940a 100755
--- a/application/models/monthlypay_model.php
+++ b/application/models/monthlypay_model.php
@@ -19,7 +19,7 @@ class monthlypay_model extends CI_Model
OR LOP_Days LIKE '%".$searchText."%'
OR OT_Hrs_Worked LIKE '%".$searchText."%'
OR Loan_Recovered LIKE '%".$searchText."%'
- OR Loan_Balance LIKE '%".$searchText."%'
+
OR Incentives LIKE '%".$searchText."%'
OR Other_Deductions LIKE '%".$searchText."%'
@@ -52,7 +52,7 @@ class monthlypay_model extends CI_Model
OR LOP_Days LIKE '%".$searchText."%'
OR OT_Hrs_Worked LIKE '%".$searchText."%'
OR Loan_Recovered LIKE '%".$searchText."%'
- OR Loan_Balance LIKE '%".$searchText."%'
+
OR Incentives LIKE '%".$searchText."%'
OR Other_Deductions LIKE '%".$searchText."%'
@@ -82,7 +82,7 @@ function addNewmonthlisting($m_list)
}
function getUserInfo($EmpID,$month_year)
{
- $this->db->select('Month_Year, EmpID, LOP_Days, OT_Hrs_Worked, Loan_Recovered, Loan_Balance, Incentives, Other_Deductions, Created_By, Created_Time, Last_Mod_By, Last_Mod_Time');
+ $this->db->select('Month_Year, EmpID, LOP_Days, OT_Hrs_Worked, Loan_Recovered,Incentives, Other_Deductions, Created_By, Created_Time, Last_Mod_By, Last_Mod_Time');
$this->db->from('T_Monthly_Pay_Inputs');
//$this->db->where('isDeleted', 0);
//$this->db->where('roleId !=', 1);
diff --git a/application/third_party/dompdf/lib/fonts/log.htm b/application/third_party/dompdf/lib/fonts/log.htm
index 6113ac35..47bb4bb6 100755
--- a/application/third_party/dompdf/lib/fonts/log.htm
+++ b/application/third_party/dompdf/lib/fonts/log.htm
@@ -1,4 +1,4 @@
-6,144 KB 141.9919 ms