1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-06-28 10:38:38 -04:00

Basic Report UI complete!

This commit is contained in:
2017-06-17 10:28:50 -04:00
parent 5dff27e7f7
commit 9844785b8d
10 changed files with 331 additions and 75 deletions

@ -138,9 +138,9 @@ function create(report) {
if (e.isError()) {
dispatch(ErrorActions.serverError(e));
} else {
var a = new Report();
a.fromJSON(data);
dispatch(reportCreated(a));
var r = new Report();
r.fromJSON(data);
dispatch(reportCreated(r));
}
},
error: function(jqXHR, status, error) {
@ -165,9 +165,10 @@ function update(report) {
if (e.isError()) {
dispatch(ErrorActions.serverError(e));
} else {
var a = new Report();
a.fromJSON(data);
dispatch(reportUpdated(a));
var r = new Report();
r.fromJSON(data);
dispatch(reportUpdated(r));
dispatch(tabulate(r));
}
},
error: function(jqXHR, status, error) {