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