0
1
Fork 0
hedera-web-mindshore/web/forms/ecomerce/invoices/invoices.js

18 lines
302 B
JavaScript
Executable File

Vn.Invoices = new Class
({
Extends: Vn.Form
,activate: function () {}
,onDownloadClick: function (column, invoiceId)
{
if (!invoiceId)
return;
var url = '//www.verdnatura.es/hedera-web/forms/ecomerce/invoices/download.php?invoice='+ invoiceId;
window.open (url, '_blank');
}
});