รวม code ปรับ layout เงินประจำตำแหน่ง และค่าตอบแทนรายเดือน
This commit is contained in:
@@ -77,6 +77,8 @@ he.position_level_id,
|
||||
he.position_type_id,
|
||||
hpl.position_level_id as hpl_position_level_id,
|
||||
hpt.position_type_id as hpt_position_type_id,
|
||||
he.position_allowance,
|
||||
he.other_money,
|
||||
|
||||
hpt.position_type_name,he.packing_date,he.cost_of_living,
|
||||
(CASE WHEN (SELECT hrm_work_rec.id FROM hrm_working_records as hrm_work_rec
|
||||
@@ -174,7 +176,14 @@ order by he.firstname, he.lastname;
|
||||
{
|
||||
i.cost_of_living = Convert.ToDecimal(dr["cost_of_living"]);
|
||||
}
|
||||
|
||||
if (dr["position_allowance"] != DBNull.Value)
|
||||
{
|
||||
i.position_allowance = Convert.ToDecimal(dr["position_allowance"]);
|
||||
}
|
||||
if (dr["other_money"] != DBNull.Value)
|
||||
{
|
||||
i.other_money = Convert.ToDecimal(dr["other_money"]);
|
||||
}
|
||||
if (dr["packing_date"] != DBNull.Value)
|
||||
{
|
||||
i.packing_date = Convert.ToDateTime(dr["packing_date"]);
|
||||
|
||||
Reference in New Issue
Block a user