hedera-web/web/forms/ecomerce/invoices/invoices.js

18 lines
304 B
JavaScript
Raw Normal View History

2015-09-03 23:28:07 +00:00
Vn.Invoices = new Class
({
Extends: Vn.Module
,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');
}
});