From 2f4929908dd969b92361129fed41b85ad0b041a5 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Thu, 2 Jan 2020 14:07:53 +1030 Subject: [PATCH] Added helper for product options display --- app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app.js b/app.js index 8ef5c3f..e12fb44 100644 --- a/app.js +++ b/app.js @@ -285,6 +285,11 @@ handlebars = handlebars.create({ return'

Please retain the details above as a reference of payment

'; } return''; + }, + upperFirst: (value) => { + return value.replace(/^\w/, (chr) => { + return chr.toUpperCase(); + }); } } });