diff --git a/forms/ecomerce/catalog/ui.xml b/forms/ecomerce/catalog/ui.xml
index 9079b24c..e87ca6cb 100644
--- a/forms/ecomerce/catalog/ui.xml
+++ b/forms/ecomerce/catalog/ui.xml
@@ -93,13 +93,12 @@
- @{{id}} -
{{tag1}} {{val1}}, {{tag2}} {{val2}}
@@ -237,7 +233,7 @@ {{card.name}}- {{card.id}} + @{{card.id}}
{{card.producer}} diff --git a/forms/ecomerce/ticket/ticket.js b/forms/ecomerce/ticket/ticket.js index dfb6936f..ca10d271 100644 --- a/forms/ecomerce/ticket/ticket.js +++ b/forms/ecomerce/ticket/ticket.js @@ -8,9 +8,8 @@ Hedera.Ticket = new Class if (!ticket.value) return; - var batch = new Sql.Batch (); - batch.addValue ('ticket', ticket.value); - this.conn.execQuery ('CALL myTicketLogAccess (#ticket)', null, batch); + var params = {ticket: ticket.value}; + this.conn.execQuery ('CALL myTicketLogAccess (#ticket)', params); } ,onPrintClick: function () @@ -37,7 +36,7 @@ Hedera.Ticket = new Class ,onPackagesChanged: function (model) { - this.$('packages').node.style.display = + this.$.packages.node.style.display = model.numRows > 0 ? 'block' : 'none'; } }); diff --git a/forms/ecomerce/ticket/ui.xml b/forms/ecomerce/ticket/ui.xml index f2cadfec..2b1f23f4 100644 --- a/forms/ecomerce/ticket/ui.xml +++ b/forms/ecomerce/ticket/ui.xml @@ -66,8 +66,7 @@ {{concept}} {{size}} {{category}}
- {{quantity}} x
-
-
-
- @