Skip to content

Commit

Permalink
Fix Txn.due() to use correct amount paid already
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwins committed Apr 22, 2015
1 parent d271748 commit 158cad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
}

Txn.due= function() {
return (viewModel.txn.total() - viewModel.txn.paid()).toFixed(2);
return (viewModel.txn.total() - viewModel.txn.total_paid()).toFixed(2);
}

Txn.delete= function (id) {
Expand Down

0 comments on commit 158cad4

Please sign in to comment.