From 0fc862bac311567ecf6de9a331ce697b2de3a3b2 Mon Sep 17 00:00:00 2001 From: Mario Dian Date: Tue, 22 Sep 2020 16:29:06 +0800 Subject: [PATCH] Fix inventory handling in PoS (#1922) --- BTCPayServer/Views/Apps/TemplateEditor.cshtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BTCPayServer/Views/Apps/TemplateEditor.cshtml b/BTCPayServer/Views/Apps/TemplateEditor.cshtml index be94e72b6..eecb5ff44 100644 --- a/BTCPayServer/Views/Apps/TemplateEditor.cshtml +++ b/BTCPayServer/Views/Apps/TemplateEditor.cshtml @@ -260,6 +260,9 @@ $(function() { if (image) { template += ' image: ' + image + '\n'; } + if (inventory) { + template += ' inventory: ' + inventory + '\n'; + } if (custom) { template += ' custom: true\n'; }