diff --git a/application/models/costcenter_model.php b/application/models/costcenter_model.php index 597515a8..71ca880d 100644 --- a/application/models/costcenter_model.php +++ b/application/models/costcenter_model.php @@ -106,7 +106,7 @@ function addNewcost($Cost) { $this->db->select('EmpID,FirstName,LastName,Designation'); $this->db->from('T_Employee_Details'); - $this->db->where('Departmentcode ', 'DEP13'); + $this->db->where('Departmentcode ', 'DEP10'); $query = $this->db->get(); diff --git a/application/views/addCostCenter.php b/application/views/addCostCenter.php index cb35f408..d6441a80 100644 --- a/application/views/addCostCenter.php +++ b/application/views/addCostCenter.php @@ -651,6 +651,13 @@ $('.tempClickEdit').click(function(){ $('#removePop').click(function () { if ($('#selectDistriList option:selected').val() != null) { + + Selectedval =''; + $('#txtSelectedDepartment').val(Selectedval); + + + + var tempSelect = $('#selectDistriList option:selected').val(); $('#selectDistriList option:selected').remove().appendTo('#distriList'); $("#selectDistriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected");