diff --git a/debian/changelog b/debian/changelog
index 40add558..0df486d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-hedera-web (1.405.91) stable; urgency=low
+hedera-web (1.405.92) stable; urgency=low
* Initial Release.
diff --git a/debian/rules b/debian/rules
index a8f9a7e2..335e3a77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,5 +10,5 @@ clean:
dh_clean $@
build:
+ npm install
npm --production run build
-
diff --git a/forms/ecomerce/invoices/ui.xml b/forms/ecomerce/invoices/ui.xml
index cf2d0aac..3e6a6a81 100644
--- a/forms/ecomerce/invoices/ui.xml
+++ b/forms/ecomerce/invoices/ui.xml
@@ -7,18 +7,16 @@
-
- SELECT invoice_id, serial_num, issued, amount
- FROM invoice_view
- ORDER BY issued DESC
- LIMIT 100
-
+ SELECT id, ref, issued, amount
+ FROM myInvoice
+ ORDER BY issued DESC
+ LIMIT 100
-
+
diff --git a/package.json b/package.json
index db59a77f..0316552a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hedera-web",
- "version": "1.405.91",
+ "version": "1.405.92",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {
diff --git a/rest/dms/invoice.sql b/rest/dms/invoice.sql
index ce6c038c..7cf76196 100644
--- a/rest/dms/invoice.sql
+++ b/rest/dms/invoice.sql
@@ -1,5 +1,5 @@
SELECT CONCAT_WS('/', c.pdfsDir, invoiceGetPath(#invoice))
FROM config c
- JOIN invoice_view i
- WHERE i.invoice_id = #invoice
+ JOIN myInvoice i
+ WHERE i.id = #invoice