},
} );
+ $('bill_list_actions').appendChild( g.bill_list.render_list_actions() );
+ g.bill_list.set_list_actions();
+
g.payment_list.init( {
'columns' : patron.util.mp_columns({}),
'map_row_to_columns' : patron.util.std_map_row_to_columns(),
);
},
} );
+
+ $('payment_list_actions').appendChild( g.payment_list.render_list_actions() );
+ g.payment_list.set_list_actions();
}
function retrieve_mb() {
<caption label="&staff.patron.bill_details.bills.label;" style="color: red"/>
<tree id="bill_tree" flex="1" enableColumnDrag="true"/>
<hbox>
- <button label="&staff.patron.bill_details.save_columns.label;" oncommand="g.bill_list.save_columns();"/>
- <button label="&staff.patron.bill_details.copy_to_clipboard.label;" oncommand="g.bill_list.clipboard();"/>
- <button label="&staff.patron.bill_details.print_export.label;" oncommand="try { g.bill_list.on_all_fleshed = function() { JSAN.use('util.print'); var p = new util.print(); p.simple( g.bill_list.dump_csv(), { 'content_type' : 'text/plain' } ); setTimeout( function() { g.bill_list.on_all_fleshed = null; }, 0); }; g.bill_list.full_retrieve(); } catch(E) { alert(E); }"/>
+ <hbox id="bill_list_actions" />
<spacer flex="1"/>
<button id="void" label="&staff.patron.bill_details.void_selection.label;" disabled="true"/>
</hbox>
<caption label="&staff.patron.bill_details.payments.label;" style="color: green"/>
<tree id="payment_tree" flex="1" enableColumnDrag="true"/>
<hbox>
- <button label="&staff.patron.bill_details.save_columns.label;" oncommand="g.payment_list.save_columns();"/>
- <button label="&staff.patron.bill_details.copy_to_clipboard.label;" oncommand="g.payment_list.clipboard();"/>
- <button label="&staff.patron.bill_details.print_export.label;" oncommand="try { g.payment_list.on_all_fleshed = function() { JSAN.use('util.print'); var p = new util.print(); p.simple( g.payment_list.dump_csv(), { 'content_type' : 'text/plain' } ); setTimeout( function() { g.payment_list.on_all_fleshed = null; }, 0); }; g.payment_list.full_retrieve(); } catch(E) { alert(E); }"/>
+ <hbox id="payment_list_actions" />
<spacer flex="1"/>
</hbox>
</groupbox>