Skip to content

Commit

Permalink
Merge pull request #1216 from jpwhite4/report
Browse files Browse the repository at this point in the history
Fix report generation for annual and biannual reports.
  • Loading branch information
jpwhite4 authored Jan 23, 2020
2 parents 02563e6 + ff87355 commit c2c7212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions background_scripts/report_schedule_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@ function getActiveFrequencies($verbose = false)
$day_of_month == 3
&& in_array($month_index, $semi_annual_start_months)
) {
$activeFrequencies[] = 'Semi-annual';
$activeFrequencies[] = 'Semi-annually';
}

// Annually (January 3rd)
if ($month_index == 1 && $day_of_month == 3) {
$activeFrequencies[] = 'Annual';
$activeFrequencies[] = 'Annually';
}

return $activeFrequencies;
Expand Down

0 comments on commit c2c7212

Please sign in to comment.