From fce87e915992ee58d57167004ec96b4cc7bda330 Mon Sep 17 00:00:00 2001 From: kamonwan taengsuk Date: Wed, 29 Nov 2023 14:12:01 +0700 Subject: [PATCH] fixed --- Controllers/RoThree.Controller.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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); + // } }