Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added the test careplan parameter to env file #139

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class EnrollmentTaskControllerDelegate {
if (orderBy != null) {
filters['OrderBy'] = orderBy;
}
var itemsPerPage = query.itemsPerPage ? query.itemsPerPage : null;
var itemsPerPage = query.itemsPerPage ? query.itemsPerPage : 120;
if (itemsPerPage != null) {
filters['ItemsPerPage'] = parseInt(itemsPerPage);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class EnrollmentControllerDelegate {
const totalTasks = scheduledActivities.length; // Total number of tasks
const tasks = scheduledActivities;

const startHour = 14.5; // 9 AM + 05:30 IST
const startHour: number = parseFloat(process.env.TEST_CAREPLAN_START_HOUR) ?? 14.5; // 9 AM + 05:30 IST
const minutesInDay = 24 * 60; // Total minutes in a day
const minutesInWeek = 7 * minutesInDay; // Total minutes in a week

Expand Down
Loading