addcost center error corrected
This commit is contained in:
parent
75c10ad252
commit
8ccbbfd461
@ -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();
|
||||||
|
|
||||||
|
|||||||
@ -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");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user