From d7ac3e1dec312830a767941f5878a7b4b2238600 Mon Sep 17 00:00:00 2001 From: kamonwan taengsuk Date: Tue, 28 Feb 2023 15:53:14 +0700 Subject: [PATCH] bug fixed --- wwwroot/reports/student_total_campus.frx | 351 +++++------ .../reports/summary_student_total_campus.frx | 543 +++++++++++------- 2 files changed, 503 insertions(+), 391 deletions(-) diff --git a/wwwroot/reports/student_total_campus.frx b/wwwroot/reports/student_total_campus.frx index 8213ee6..88c45e9 100644 --- a/wwwroot/reports/student_total_campus.frx +++ b/wwwroot/reports/student_total_campus.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -233,292 +233,292 @@ namespace FastReport - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + @@ -560,6 +560,7 @@ namespace FastReport + diff --git a/wwwroot/reports/summary_student_total_campus.frx b/wwwroot/reports/summary_student_total_campus.frx index a8087e3..0d7791c 100644 --- a/wwwroot/reports/summary_student_total_campus.frx +++ b/wwwroot/reports/summary_student_total_campus.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -20,32 +20,7 @@ namespace FastReport { - private void Data1_BeforePrint(object sender, EventArgs e) - { - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "1" ) - Data1.FillColor = Color.Blue; - Cell110.Font = new Font("TH Sarabun New", 11, FontStyle.Bold); - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "2" ) - Data1.FillColor = Color.Yellow; - Cell110.Font = new Font("TH Sarabun New", 11, FontStyle.Bold); - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "3" ) - Data1.FillColor = Color.White; - Cell110.Font = new Font("TH Sarabun New", 11, FontStyle.Underline); - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "4" ) - Data1.FillColor = Color.White; - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "5" ) - Data1.FillColor = Color.White; - Cell110.Font = new Font("TH Sarabun New", 11, FontStyle.Bold); - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "6" ) - Data1.FillColor = Color.LightGreen; - Cell110.Font = new Font("TH Sarabun New", 11, FontStyle.Bold); - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "7" ) - Data1.FillColor = Color.LightSteelBlue; - Cell110.Font = new Font("TH Sarabun New", 11, FontStyle.Bold); - if (((String)Report.GetColumnValue("student_totalcampus.header_data.filter")) == "8" ) - Data1.FillColor = Color.Gainsboro; - Cell110.Font = new Font("TH Sarabun New", 11, FontStyle.Bold); - } + private void Data2_BeforePrint(object sender, EventArgs e) { @@ -234,349 +209,349 @@ namespace FastReport - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + - - - - + + + + - - + + @@ -617,16 +592,29 @@ namespace FastReport + + + + + + + + + + + - - + + + + @@ -635,7 +623,10 @@ namespace FastReport - + + + + @@ -644,7 +635,10 @@ namespace FastReport - + + + + @@ -653,7 +647,10 @@ namespace FastReport - + + + + @@ -662,7 +659,10 @@ namespace FastReport - + + + + @@ -671,7 +671,10 @@ namespace FastReport - + + + + @@ -680,7 +683,10 @@ namespace FastReport - + + + + @@ -689,7 +695,10 @@ namespace FastReport - + + + + @@ -698,7 +707,10 @@ namespace FastReport - + + + + @@ -707,7 +719,10 @@ namespace FastReport - + + + + @@ -716,7 +731,10 @@ namespace FastReport - + + + + @@ -725,7 +743,10 @@ namespace FastReport - + + + + @@ -734,7 +755,10 @@ namespace FastReport - + + + + @@ -743,7 +767,10 @@ namespace FastReport - + + + + @@ -751,84 +778,168 @@ namespace FastReport + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +