+
Order status: {{result.orderStatus}}
+
-
{{ @root.__ "Order date" }}: {{formatDate result.orderDate "DD/MM/YYYY hh:mmA"}}
-
{{ @root.__ "Order ID" }}: {{result._id}}
-
{{ @root.__ "Payment Gateway ref" }}: {{result.orderPaymentId}}
-
{{ @root.__ "Payment Gateway" }}: {{result.orderPaymentGateway}}
+
{{ @root.__ "Order date" }}: {{formatDate result.orderDate "DD/MM/YYYY hh:mmA"}}
+
{{ @root.__ "Order ID" }}: {{result._id}}
+
{{ @root.__ "Payment Gateway ref" }}: {{result.orderPaymentId}}
+
{{ @root.__ "Payment Gateway" }}: {{result.orderPaymentGateway}}
{{#if result.orderPaymentMessage}}
-
{{ @root.__ "Payment Message" }}: {{result.orderPaymentMessage}}
+
{{ @root.__ "Payment Message" }}: {{result.orderPaymentMessage}}
{{/if}}
-
{{ @root.__ "Order total amount" }}: {{currencySymbol config.currencySymbol}}{{formatAmount result.orderTotal}}
-
{{ @root.__ "Email address" }}: {{result.orderEmail}}
-
{{ @root.__ "First name" }}: {{result.orderFirstname}}
-
{{ @root.__ "Last name" }}: {{result.orderLastname}}
-
{{ @root.__ "Address 1" }}: {{result.orderAddr1}}
-
{{ @root.__ "Address 2" }}: {{result.orderAddr2}}
-
{{ @root.__ "Country" }}: {{result.orderCountry}}
-
{{ @root.__ "State" }}: {{result.orderState}}
-
{{ @root.__ "Postcode" }}: {{result.orderPostcode}}
-
{{ @root.__ "Phone number" }}: {{result.orderPhoneNumber}}
-
{{ @root.__ "Order type" }}: {{result.orderType}}
-
{{ @root.__ "Order comment" }}: {{result.orderComment}}
+
{{ @root.__ "Order total amount" }}: {{currencySymbol config.currencySymbol}}{{formatAmount result.orderTotal}}
+
{{ @root.__ "Email address" }}: {{result.orderEmail}}
+
{{ @root.__ "First name" }}: {{result.orderFirstname}}
+
{{ @root.__ "Last name" }}: {{result.orderLastname}}
+
{{ @root.__ "Address 1" }}: {{result.orderAddr1}}
+
{{ @root.__ "Address 2" }}: {{result.orderAddr2}}
+
{{ @root.__ "Country" }}: {{result.orderCountry}}
+
{{ @root.__ "State" }}: {{result.orderState}}
+
{{ @root.__ "Postcode" }}: {{result.orderPostcode}}
+
{{ @root.__ "Phone number" }}: {{result.orderPhoneNumber}}
+
{{ @root.__ "Order type" }}: {{result.orderType}}
+
{{ @root.__ "Order comment" }}: {{result.orderComment}}
{{ @root.__ "Products ordered" }}
@@ -62,7 +62,7 @@
{{/each}}
)
{{/if}}
-
{{currencySymbol @root.config.currencySymbol}}{{formatAmount this.totalItemPrice}}
+
{{currencySymbol @root.config.currencySymbol}}{{formatAmount this.totalItemPrice}}
{{#if productComment}}
Comment: {{this.productComment}}
{{/if}}
diff --git a/views/orders.hbs b/views/orders.hbs
index af959a4..6cfcb1b 100644
--- a/views/orders.hbs
+++ b/views/orders.hbs
@@ -44,7 +44,7 @@
{{#if orders}}
{{#each orders}}
-
+
{{ @root.__ "Status" }}:
{{this.orderStatus}}
diff --git a/views/product_edit.hbs b/views/product_edit.hbs
index 87dfa86..1afa23d 100644
--- a/views/product_edit.hbs
+++ b/views/product_edit.hbs
@@ -3,7 +3,7 @@