Added reminaing balance to payments screen BOD-231

This commit is contained in:
Patrick Fic
2020-09-08 10:23:25 -07:00
parent af8e39da75
commit 92ee64a413
8 changed files with 244 additions and 53 deletions

View File

@@ -29,9 +29,10 @@ Handlebars.registerHelper("dinerof", function (context, block) {
Handlebars.registerHelper("objectKeys", function (obj, block) {
var accum = "";
Object.keys(obj).map((key) => {
accum += block.fn({ key, value: obj[key] });
});
obj &&
Object.keys(obj).map((key) => {
accum += block.fn({ key, value: obj[key] });
});
return accum;
});