From 900eef36f2e43edede34d91318563397b7ff2a6f Mon Sep 17 00:00:00 2001 From: Yury Saukou Date: Tue, 5 Dec 2023 13:29:44 +0400 Subject: [PATCH] UIORGS-415 Enable 'Hourly' and 'Monthly' EDI export scheduling frequency options --- CHANGELOG.md | 1 + .../SchedulingForm/SchedulingForm.js | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6119fd95..7260cc70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ * Modify summary display in organization view mode. Refs UIORGS-398. * Protection of viewing and changes of banking information by permissions. Refs UIORGS-388. * Search organization on bank account number. Refs UIORGS-392. +* Enable "Hourly" and "Monthly" EDI export scheduling frequency options. Refs UIORGS-415. ## [5.0.0](https://github.com/folio-org/ui-organizations/tree/v5.0.0) (2023-10-12) [Full Changelog](https://github.com/folio-org/ui-organizations/compare/v4.0.0...v5.0.0) diff --git a/src/OrganizationIntegration/OrganizationIntegrationForm/SchedulingForm/SchedulingForm.js b/src/OrganizationIntegration/OrganizationIntegrationForm/SchedulingForm/SchedulingForm.js index ad86fb7c..03de00ca 100644 --- a/src/OrganizationIntegration/OrganizationIntegrationForm/SchedulingForm/SchedulingForm.js +++ b/src/OrganizationIntegration/OrganizationIntegrationForm/SchedulingForm/SchedulingForm.js @@ -23,7 +23,13 @@ import { WEEKDAYS, } from '../../constants'; -const ALLOWED_SCHEDULE_PERIODS = [SCHEDULE_PERIODS.days, SCHEDULE_PERIODS.weeks, SCHEDULE_PERIODS.none]; +const ALLOWED_SCHEDULE_PERIODS = [ + SCHEDULE_PERIODS.none, + SCHEDULE_PERIODS.hours, + SCHEDULE_PERIODS.days, + SCHEDULE_PERIODS.weeks, + SCHEDULE_PERIODS.months, +]; const normalizeNumber = value => { if (!value && value !== 0) return value;