update,
This commit is contained in:
17
catmk2/task1/utils/updateRowToNotificationSent.js
Normal file
17
catmk2/task1/utils/updateRowToNotificationSent.js
Normal file
@@ -0,0 +1,17 @@
|
||||
function updateRowToNotificationSent(row) {
|
||||
var output = { state: "init", debug: { row }, error: {} };
|
||||
try {
|
||||
var sheet = getSheetStudentProgress();
|
||||
var payment_progress_cell = getCell(
|
||||
sheet,
|
||||
row,
|
||||
COL_STUDENT_PROGRESS_PAYMENT_PROGRESS
|
||||
);
|
||||
writeCell(payment_progress_cell, CONST_NOTIFIED_ALREADY);
|
||||
|
||||
return;
|
||||
} catch (error) {
|
||||
output = { ...output, error };
|
||||
console.log(error);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user