diff --git a/debian/changelog b/debian/changelog index ca38c734..fc4dda8d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.59) stable; urgency=low +hedera-web (1.406.60) stable; urgency=low * Initial Release. diff --git a/forms/ecomerce/invoices/invoices.js b/forms/ecomerce/invoices/invoices.js index cfebd6fe..916bb3d7 100644 --- a/forms/ecomerce/invoices/invoices.js +++ b/forms/ecomerce/invoices/invoices.js @@ -5,7 +5,7 @@ Hedera.Invoices = new Class({ donwloadRenderer: function(column, invoice) { var invoiceId = invoice.get('id'); - if (invoice.get('pdf') && invoiceId) { + if (invoice.get('hasPdf') && invoiceId) { var params = { srv: 'rest:dms/invoice', invoice: invoiceId, @@ -16,7 +16,7 @@ Hedera.Invoices = new Class({ tip: _('Download PDF'), disabled: false, icon: 'download', - href: '?'+ Vn.Url.makeUri (params) + href: '?'+ Vn.Url.makeUri(params) }); } else Object.assign(column, { diff --git a/forms/ecomerce/invoices/ui.xml b/forms/ecomerce/invoices/ui.xml index 70378c1d..5e9b5e05 100644 --- a/forms/ecomerce/invoices/ui.xml +++ b/forms/ecomerce/invoices/ui.xml @@ -7,7 +7,7 @@