addcost center error corrected

This commit is contained in:
venbatechnologies@gmail.com 2017-05-09 15:39:18 +05:30
parent 75c10ad252
commit 8ccbbfd461
2 changed files with 8 additions and 1 deletions

View File

@ -106,7 +106,7 @@ function addNewcost($Cost)
{ {
$this->db->select('EmpID,FirstName,LastName,Designation'); $this->db->select('EmpID,FirstName,LastName,Designation');
$this->db->from('T_Employee_Details'); $this->db->from('T_Employee_Details');
$this->db->where('Departmentcode ', 'DEP13'); $this->db->where('Departmentcode ', 'DEP10');
$query = $this->db->get(); $query = $this->db->get();

View File

@ -651,6 +651,13 @@ $('.tempClickEdit').click(function(){
$('#removePop').click(function () { $('#removePop').click(function () {
if ($('#selectDistriList option:selected').val() != null) { if ($('#selectDistriList option:selected').val() != null) {
Selectedval ='';
$('#txtSelectedDepartment').val(Selectedval);
var tempSelect = $('#selectDistriList option:selected').val(); var tempSelect = $('#selectDistriList option:selected').val();
$('#selectDistriList option:selected').remove().appendTo('#distriList'); $('#selectDistriList option:selected').remove().appendTo('#distriList');
$("#selectDistriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected"); $("#selectDistriList").attr('selectedIndex', '-1').find("option:selected").removeAttr("selected");