FIX: pass correct date arguments to server when exporting CSV

This commit is contained in:
Arpit Jalan 2019-05-01 10:46:30 +05:30
parent 002e1f560a
commit c6409fd2cc
1 changed files with 2 additions and 2 deletions

View File

@ -218,8 +218,8 @@ export default Ember.Component.extend({
exportEntity("report", { exportEntity("report", {
name: this.get("model.type"), name: this.get("model.type"),
startDate: this.get("startDate"), start_date: this.get("startDate"),
endDate: this.get("endDate"), end_date: this.get("endDate"),
category_id: customFilters.category, category_id: customFilters.category,
group_id: customFilters.group group_id: customFilters.group
}).then(outputExportResult); }).then(outputExportResult);