Added helper for product options display

master
Mark Moffat 2020-01-02 14:07:53 +10:30
parent 18b8eaf8f5
commit 2f4929908d
1 changed files with 5 additions and 0 deletions

5
app.js
View File

@ -285,6 +285,11 @@ handlebars = handlebars.create({
return'<h3 class="text-success">Please retain the details above as a reference of payment</h3>';
}
return'';
},
upperFirst: (value) => {
return value.replace(/^\w/, (chr) => {
return chr.toUpperCase();
});
}
}
});