Skip to content

Commit

Permalink
Merge origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
holger committed Nov 5, 2018
2 parents 6317496 + 49526b4 commit 03e9288
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ export class SystemGlobalInfo {

rentalsAndReturns.getData().absoluteValues.forEach( (v, k) => successfulRentals += v.successfulRentals);
rentalsAndReturns.getData().absoluteValues.forEach( (v, k) => successfulReturns += v.successfulReturns);
rentalsAndReturns.getData().absoluteValues.forEach( (v, k) => failedRentals += v.failedRentals);
rentalsAndReturns.getData().absoluteValues.forEach( (v, k) => {
if(v.successfulRentals === 1) {
failedRentals += v.failedRentals;
}
});
rentalsAndReturns.getData().absoluteValues.forEach( (v, k) => failedReturns += v.failedReturns);

//totalRentals = successfulRentals + failedRentals;
Expand Down

0 comments on commit 03e9288

Please sign in to comment.