var html = receipt.template_output().data();
JSAN.use('util.print');
- var print = new util.print('mail');
+ var print = new util.print('default');
print.simple(html , {
no_prompt: false,
- content_type: 'text/html',
- context: 'default'
+ content_type: 'text/html'
});
}
}
var html = receipt.template_output().data();
JSAN.use('util.print');
- var print = new util.print('mail');
+ var print = new util.print('default');
// Temporarily override the forced silent print option for lost &
// paid receipts where we /always/ want to show the print dialog.
print.simple(html , {
no_prompt: false, // always prompt for lost payment receipts
- content_type: 'text/html',
- context: 'default'
+ content_type: 'text/html'
});
if (silentPrintApplied) {
var html = receipt.template_output().data();
JSAN.use('util.print');
- var print = new util.print('mail');
+ var print = new util.print('default');
print.simple(html , {
no_prompt: false, // always prompt for lost payment receipts
- content_type: 'text/html',
- context: 'default'
+ content_type: 'text/html'
});
}
}