From 94f75bc8fa896c0ad90b67a103d76473ee9d9f37 Mon Sep 17 00:00:00 2001 From: Katrina Wheelan Date: Wed, 24 Jul 2024 12:41:05 -0400 Subject: [PATCH] #41 add recurring v one-time dropdowns for all relevant pages --- src/js/views/03_revenue/helpers.js | 1 + src/js/views/05_overtime/helpers.js | 1 + src/js/views/06_nonpersonnel/helpers.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/js/views/03_revenue/helpers.js b/src/js/views/03_revenue/helpers.js index 99688a8..4c27354 100644 --- a/src/js/views/03_revenue/helpers.js +++ b/src/js/views/03_revenue/helpers.js @@ -61,4 +61,5 @@ function revRowOnEdit(){ // make it editable Table.Cell.createTextbox('request', true); Table.Cell.createTextbox('notes'); + Table.Cell.createDropdown('recurring', ['One-Time', 'Recurring']); } \ No newline at end of file diff --git a/src/js/views/05_overtime/helpers.js b/src/js/views/05_overtime/helpers.js index 70b8082..f1874d4 100644 --- a/src/js/views/05_overtime/helpers.js +++ b/src/js/views/05_overtime/helpers.js @@ -50,6 +50,7 @@ function OTRowOnEdit(){ Table.Cell.createTextbox('OT-wages', true); Table.Cell.createTextbox('OT-salary', true); Table.Cell.createServiceDropdown(Services.list()); + Table.Cell.createDropdown('recurring', ['One-Time', 'Recurring']); } export async function initializeOTTable(){ diff --git a/src/js/views/06_nonpersonnel/helpers.js b/src/js/views/06_nonpersonnel/helpers.js index c1ff1db..000078d 100644 --- a/src/js/views/06_nonpersonnel/helpers.js +++ b/src/js/views/06_nonpersonnel/helpers.js @@ -59,5 +59,6 @@ function nonPersonnelRowOnEdit(){ // make it editable Table.Cell.createTextbox('request', true); Table.Cell.createServiceDropdown(); + Table.Cell.createDropdown('recurring', ['One-Time', 'Recurring']); }