Feature Request: Report (Invoice) -> Group by Date (Quarterly #569
This commit is contained in:
parent
d3ec7a6769
commit
88b8ea7bac
|
|
@ -1397,6 +1397,9 @@ class ReportResult {
|
||||||
customStartDate = group;
|
customStartDate = group;
|
||||||
if (reportState.subgroup == kReportGroupDay) {
|
if (reportState.subgroup == kReportGroupDay) {
|
||||||
customEndDate = convertDateTimeToSqlDate(date);
|
customEndDate = convertDateTimeToSqlDate(date);
|
||||||
|
} else if (reportState.subgroup == kReportGroupQuarter) {
|
||||||
|
customEndDate =
|
||||||
|
convertDateTimeToSqlDate(addDays(addMonths(date!, 3), -1));
|
||||||
} else if (reportState.subgroup == kReportGroupMonth) {
|
} else if (reportState.subgroup == kReportGroupMonth) {
|
||||||
customEndDate =
|
customEndDate =
|
||||||
convertDateTimeToSqlDate(addDays(addMonths(date!, 1), -1));
|
convertDateTimeToSqlDate(addDays(addMonths(date!, 1), -1));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue