diff --git a/Controllers/Budget.Controller.cs b/Controllers/Budget.Controller.cs index a738633..a5782a3 100644 --- a/Controllers/Budget.Controller.cs +++ b/Controllers/Budget.Controller.cs @@ -2770,7 +2770,7 @@ namespace rmutr_report.Controllers indetail.topic9 = indetail.topic; indetail.topic10 = indetail.qualification; indetail.amount9 = indetail.value1; - indetail.amount10 = indetail.value2*indetail.value1; + indetail.amount10 = indetail.value2*12; indetail.text9 = "อัตรา"; indetail.text10 = "บาท"; indetail.row_no3 = no3; @@ -2848,7 +2848,7 @@ namespace rmutr_report.Controllers } } - budget.total = budget.details.Where(f=>f.topic_type==1).Sum(d => d.amount1); + budget.total = budget.details.Where(f=>f.topic_type==1).Sum(d => d.value1); var budgetExpenditure = new List() { budget }; Report report = new Report();