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

16 lines
235 B
JavaScript

Vn.Invoices = new Class
({
Extends: Vn.Form
,onDownloadClick: function (column, invoiceId)
{
if (!invoiceId)
return;
var url = 'rest.php?method=dms/invoice&invoice='+ invoiceId;
window.open (url, '_blank');
}
});