This commit is contained in:
@@ -1152,21 +1152,21 @@ namespace rmutr_report.Controllers
|
|||||||
if (contributions.topic_type == 1)
|
if (contributions.topic_type == 1)
|
||||||
{
|
{
|
||||||
contributions.topic_name = "เงินสมทบกองทุนประกันสังคม";
|
contributions.topic_name = "เงินสมทบกองทุนประกันสังคม";
|
||||||
foreach (var detail in contributions.data)
|
// foreach (var detail in contributions.data)
|
||||||
{
|
// {
|
||||||
detail.amount = (detail.salary * 5) / 100;
|
// detail.amount = (detail.salary * 5) / 100;
|
||||||
detail.per_year = (detail.amount * 12);
|
// detail.per_year = (detail.amount * 12);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (contributions.topic_type == 2)
|
if (contributions.topic_type == 2)
|
||||||
{
|
{
|
||||||
contributions.topic_name = "เงินสมทบกองทุนเงินทดแทน";
|
contributions.topic_name = "เงินสมทบกองทุนเงินทดแทน";
|
||||||
foreach (var detail in contributions.data)
|
// foreach (var detail in contributions.data)
|
||||||
{
|
// {
|
||||||
detail.amount = (detail.salary * (decimal?)0.2) / 100;
|
// detail.amount = (detail.salary * (decimal?)0.2) / 100;
|
||||||
detail.per_year = (detail.amount * 12);
|
// detail.per_year = (detail.amount * 12);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user