diff --git a/Controllers/RoThree.Controller.cs b/Controllers/RoThree.Controller.cs index 2e983e5..b00b90f 100644 --- a/Controllers/RoThree.Controller.cs +++ b/Controllers/RoThree.Controller.cs @@ -1152,21 +1152,21 @@ namespace rmutr_report.Controllers if (contributions.topic_type == 1) { contributions.topic_name = "เงินสมทบกองทุนประกันสังคม"; - foreach (var detail in contributions.data) - { - detail.amount = (detail.salary * 5) / 100; - detail.per_year = (detail.amount * 12); - } + // foreach (var detail in contributions.data) + // { + // detail.amount = (detail.salary * 5) / 100; + // detail.per_year = (detail.amount * 12); + // } } if (contributions.topic_type == 2) { contributions.topic_name = "เงินสมทบกองทุนเงินทดแทน"; - foreach (var detail in contributions.data) - { - detail.amount = (detail.salary * (decimal?)0.2) / 100; - detail.per_year = (detail.amount * 12); - } + // foreach (var detail in contributions.data) + // { + // detail.amount = (detail.salary * (decimal?)0.2) / 100; + // detail.per_year = (detail.amount * 12); + // } }