Untitled

Anonymous
plain_text
04/04/2023 7:31 AM
364 B
13
Indexable
 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);
 }

 }

}
Editor is loading...