'list' : payment_blob.payments,
'data' : obj.previous_summary,
};
+ if (document.getElementById('auto_print').checked) params.no_prompt = true;
JSAN.use('util.print'); var print = new util.print();
print.tree_list( params );
} catch(E) {
<button id="bill_wizard" label="Bill Patron" accesskey="B" command="cmd_bill_wizard"/>
<button id="bill_history" label="History" accesskey="H" command="cmd_bill_history"/>
<spacer flex="2"/>
+ <checkbox id="auto_print" label="Auto-Print" persist="checked" checked="true" />
<button class="hide_patron_credit" hidden="true" disabled="true" id="change_to_credit" label="Convert Change to Patron Credit" command="cmd_change_to_credit"/>
<button id="bill_apply_payment" label="Apply Payment!" accesskey="P" command="cmd_bill_apply_payment"/>
</hbox>