Bug Fixed
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kamonwan taengsuk
2024-08-26 09:02:45 +07:00
parent 9f3a5950c6
commit 3680fa2e1f
12 changed files with 16 additions and 27 deletions

View File

@@ -2700,8 +2700,9 @@ namespace rmutr_report.Controllers
int no7 = 1;
int no8 = 0;
int no9 = 0;
int no10 = 1;
int no10 = 0;
bool numberingtype10 = false;
bool numberingtype13 = false;
bool startNumbering = false;
bool startNumbering2 = false;
bool startNumbering3 = false;
@@ -2807,10 +2808,8 @@ namespace rmutr_report.Controllers
indetail.topic14 = indetail.topic;
indetail.amount16 = indetail.value2;
indetail.text20 = "บาท";
//indetail.row_no1 = no1;
//no1++;
//startNumbering3 = true;
//no8 = 1;
numberingtype13 = true;
no10 = 1;
}
if (indetail.topic_type==12)
{
@@ -2830,21 +2829,11 @@ namespace rmutr_report.Controllers
startNumbering3 = true;
no8 = 1;
}
// if (indetail.topic_type==13&&indetail.topic!="ค่าตอบแทน ค่าใช้สอยและค่าวัสดุ"&&indetail.topic!="ค่าใช้จ่ายดำเนินงาน")//
if (indetail.topic_type==13&&indetail.topic=="เงินอุดหนุน ค่าใช้จ่ายโครงการ")
{
indetail.row_no10 = 1;
}
if (indetail.topic_type==13&&indetail.topic=="ค่าครุภัณฑ์")
{
indetail.row_no10 = 1;
}
if (indetail.topic_type==13&&indetail.topic=="ค่าที่ดินและสิ่งก่อสร้าง")
{
indetail.row_no10 = 2;
//if (numberingtype13&&indetail.topic_type==13&&indetail.topic=="เงินอุดหนุน ค่าใช้จ่ายโครงการ"||indetail.topic=="ค่าครุภัณฑ์"||indetail.topic=="ค่าที่ดินและสิ่งก่อสร้าง")
if (numberingtype13&&indetail.topic_type==13&&indetail.topic!="ค่าตอบแทน ค่าใช้สอยและค่าวัสดุ"&&indetail.topic!="ค่าใช้จ่ายดำเนินงาน")
{
indetail.row_no10 = no10;
no10++;
}
if (startNumbering3&&indetail.topic_type==14)//
{