report/customer/invoice/test/ch.banana.ca.invoice.canada02.test.js
//Function that creates the report for the test
Function that creates the report for the test
Function that creates the report for the test
function aggiungiReport(invoiceNumber, reportName) {
  var param = {};
  param.print_header = true;
  param.print_paymentslip = false;
  param.font_family = '';
  param.color_1 = '';
  param.color_2 = '';
  param.color_3 = '';
  param.color_4 = '';
  param.color_5 = '';
  var jsonInvoice = getJsonInvoice(invoiceNumber);
  var invoiceReport = printInvoice(jsonInvoice, invoiceReport, param);
  Test.logger.addReport(reportName, invoiceReport);
}
function aggiungiReport ( invoiceNumber , reportName ) { var param = { } ; param . print_header = true ; param . print_paymentslip = false ; param . font_family = '' ; param . color_1 = '' ; param . color_2 = '' ; param . color_3 = '' ; param . color_4 = '' ; param . color_5 = '' ; var jsonInvoice = getJsonInvoice ( invoiceNumber ) ; var invoiceReport = printInvoice ( jsonInvoice , invoiceReport , param ) ; Test . logger . addReport ( reportName , invoiceReport ) ; }
Function that creates the report for the test
Function that creates the report for the test
//Set params (normally are taken from settings) //Banana.console.log(JSON.stringify(jsonInvoice, "", ""));