Untitled
var typepay= frontol.currentDocument.payment.type.code; frontol.actions.showMessage(typepay); if (typepay == 4) { try { makeFiscalCall("commons/printLastDocument/", {}); } catch (e) { frontol.actions.showError (e.message); } } }
var typepay= frontol.currentDocument.payment.type.code; frontol.actions.showMessage(typepay); if (typepay == 4) { try { makeFiscalCall("commons/printLastDocument/", {}); } catch (e) { frontol.actions.showError (e.message); } } }