From fe5742f2ffc78479da6b18b9948edf73c314dd71 Mon Sep 17 00:00:00 2001 From: rhahao <26148770+rhahao@users.noreply.github.com> Date: Fri, 1 Dec 2023 21:12:52 +0300 Subject: [PATCH] fix(schedules): part number ordering --- src/current/classes/Schedules.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/current/classes/Schedules.js b/src/current/classes/Schedules.js index c4b9fe9efd..e32653a2d8 100644 --- a/src/current/classes/Schedules.js +++ b/src/current/classes/Schedules.js @@ -143,27 +143,27 @@ SchedulesClass.prototype.S89ItemData = function (week, assName, classLabel) { if (assName === 'bRead') { stuFld = 'bRead_stu_' + classLabel; - s89Data.partNo = 4; + s89Data.partNo = 3; } else if (assName === 'ass1') { stuFld = 'ass1_stu_' + classLabel; assFld = 'ass1_ass_' + classLabel; assTypeFld = 'mwb_ayf_part1_type'; - s89Data.partNo = 5; + s89Data.partNo = 4; } else if (assName === 'ass2') { stuFld = 'ass2_stu_' + classLabel; assFld = 'ass2_ass_' + classLabel; assTypeFld = 'mwb_ayf_part2_type'; - s89Data.partNo = 6; + s89Data.partNo = 5; } else if (assName === 'ass3') { stuFld = 'ass3_stu_' + classLabel; assFld = 'ass3_ass_' + classLabel; assTypeFld = 'mwb_ayf_part3_type'; - s89Data.partNo = 7; + s89Data.partNo = 6; } else if (assName === 'ass4') { stuFld = 'ass4_stu_' + classLabel; assFld = 'ass4_ass_' + classLabel; assTypeFld = 'mwb_ayf_part4_type'; - s89Data.partNo = 8; + s89Data.partNo = 7; } let midDay = parseInt(Setting.midweek_meeting_day, 10);