Skip to content

Commit

Permalink
BAH-3049| Samridhi | Rename dateRange key
Browse files Browse the repository at this point in the history
  • Loading branch information
Samridhi-98 authored and rahu1ramesh committed Aug 23, 2023
1 parent 66212db commit 7c41377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/reports/services/reportService.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ angular.module('bahmni.reports')
"This Month": new Date(currentDate.getFullYear(), currentDate.getMonth(), 1),
"This Quarter": new Date(currentDate.getFullYear(), Math.floor(currentDate.getMonth() / 3) * 3, 1),
"This Year": new Date(currentDate.getFullYear(), 0, 1),
"Previous Week": new Date(new Date().setDate(currentDate.getDate() - 6)),
"Previous Month": new Date(new Date().setDate(currentDate.getDate() - 30))
"Last 7 days": new Date(new Date().setDate(currentDate.getDate() - 6)),
"Last 30 days": new Date(new Date().setDate(currentDate.getDate() - 30))
};

var scheduleReport = function (report) {
Expand Down

0 comments on commit 7c41377

Please sign in to comment.