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

21 lines
294 B
JavaScript

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