แก้ไข การแสดงผล ค่าครองชีพ
This commit is contained in:
@@ -165,6 +165,7 @@ namespace TodoAPI2.Models
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Manipulation Functions
|
#region Manipulation Functions
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ namespace TodoAPI2.Models
|
|||||||
var i = new external_linkageViewModel();
|
var i = new external_linkageViewModel();
|
||||||
i.external_id = Convert.ToInt32(dr["id"]);
|
i.external_id = Convert.ToInt32(dr["id"]);
|
||||||
i.external_code = dr["position_type_id"].ToString();
|
i.external_code = dr["position_type_id"].ToString();
|
||||||
i.external_name = dr["position_type_id"].ToString() + " " + dr["position_type_name"].ToString();
|
i.external_name = dr["position_type_name"].ToString();
|
||||||
result.Add(i);
|
result.Add(i);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
@@ -89,7 +89,7 @@ namespace TodoAPI2.Models
|
|||||||
var i = new external_linkageViewModel();
|
var i = new external_linkageViewModel();
|
||||||
i.external_id = Convert.ToInt32(dr["id"]);
|
i.external_id = Convert.ToInt32(dr["id"]);
|
||||||
i.external_code = dr["position_level_id"].ToString();
|
i.external_code = dr["position_level_id"].ToString();
|
||||||
i.external_name = dr["position_level_id"].ToString() + " " + dr["position_level_name"].ToString();
|
i.external_name = dr["position_level_name"].ToString();
|
||||||
result.Add(i);
|
result.Add(i);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -121,13 +121,18 @@
|
|||||||
<th><label id='h_eva_salary_cylinder_themin'>ขั้นต่ำ</label></th>
|
<th><label id='h_eva_salary_cylinder_themin'>ขั้นต่ำ</label></th>
|
||||||
<th><label id='h_eva_salary_cylinder_themax'>ขั้นสูง</label></th>
|
<th><label id='h_eva_salary_cylinder_themax'>ขั้นสูง</label></th>
|
||||||
<th><label id='h_eva_salary_cylinder_middle'>ค่ากลาง</label></th>
|
<th><label id='h_eva_salary_cylinder_middle'>ค่ากลาง</label></th>
|
||||||
<th><label id='h_eva_salary_cylinder_cost_living '>ค่าครองชีพ</label></th>
|
|
||||||
<th><label id='h_eva_salary_cylinder_position_allowance'>เงินประจำตำแหน่ง</label></th>
|
<th><label id='h_eva_salary_cylinder_position_allowance'>เงินประจำตำแหน่ง</label></th>
|
||||||
<th><label id='h_eva_salary_cylinder_monthly_compensation'>ค่าตอบแทนรายเดือน</label></th>
|
<th><label id='h_eva_salary_cylinder_monthly_compensation'>ค่าตอบแทนรายเดือน</label></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody></tbody>
|
<tbody></tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<p>
|
||||||
|
หมายเหตุ : ค่าครองชีพ
|
||||||
|
</p>
|
||||||
|
<p>1.เงินเดือนไม่ถึงเดือนละ 13,285 บาท ได้ค่าครองชีพ 2,000 บาท แต่เมื่อรวมกับเงินเดือนแล้ว ต้องไม่เกินเดือนละ 13,285 บาท</p>
|
||||||
|
<p>2. กรณีได้รับค่าครองชีพ 2,000 บาท เมื่อรวมกับเงินเดือนแล้วไม่ถึง 10,000 บาท ให้ได้รับค่าครองชีพเพิ่มขึ้นอีกจนถึงเดือนละ 10,000 บาท</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -173,7 +173,6 @@ var eva_salary_cylinder_setupTable = function (result) {
|
|||||||
{ "data": "themin" },
|
{ "data": "themin" },
|
||||||
{ "data": "themax" },
|
{ "data": "themax" },
|
||||||
{ "data": "middle" },
|
{ "data": "middle" },
|
||||||
{ "data": "cost_living" },
|
|
||||||
{ "data": "position_allowance" },
|
{ "data": "position_allowance" },
|
||||||
{ "data": "monthly_compensation" },
|
{ "data": "monthly_compensation" },
|
||||||
],
|
],
|
||||||
@@ -213,22 +212,22 @@ var eva_salary_cylinder_setupTable = function (result) {
|
|||||||
return formatNumber(data);
|
return formatNumber(data);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
//{
|
||||||
|
// "targets": 7,
|
||||||
|
// "data": "cost_living",
|
||||||
|
// "render": function (data, type, row, meta) {
|
||||||
|
// return formatNumber(data);
|
||||||
|
// }
|
||||||
|
//},
|
||||||
{
|
{
|
||||||
"targets": 7,
|
"targets": 7,
|
||||||
"data": "cost_living",
|
|
||||||
"render": function (data, type, row, meta) {
|
|
||||||
return formatNumber(data);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"targets": 8,
|
|
||||||
"data": "position_allowance",
|
"data": "position_allowance",
|
||||||
"render": function (data, type, row, meta) {
|
"render": function (data, type, row, meta) {
|
||||||
return formatNumber(data);
|
return formatNumber(data);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"targets": 9,
|
"targets": 8,
|
||||||
"data": "monthly_compensation",
|
"data": "monthly_compensation",
|
||||||
"render": function (data, type, row, meta) {
|
"render": function (data, type, row, meta) {
|
||||||
return formatNumber(data);
|
return formatNumber(data);
|
||||||
|
|||||||
Reference in New Issue
Block a user