2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Patron Display -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="/xul/server/skin/evergreen.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/circ.css" type="text/css"?>
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
13 <!DOCTYPE window SYSTEM "chrome://evergreen/locale/lang.dtd">
15 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
17 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
18 <?xul-overlay href="/xul/server/patron/bills_overlay.xul"?>
20 <window id="bills_win"
22 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
24 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
26 <script type="text/javascript">var myPackageDir = 'evergreen'; var IAMXUL = true; var g = {};</script>
27 <scripts id="openils_util_scripts"/>
29 <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
34 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
35 if (typeof JSAN == 'undefined') { throw( "The JSAN library object is missing."); }
36 JSAN.errorLevel = "die"; // none, warn, or die
37 JSAN.addRepository('/xul/server/');
38 JSAN.use('util.error'); g.error = new util.error();
39 g.error.sdump('D_TRACE','my_init() for bills.xul');
43 JSAN.use('patron.bills'); g.bills = new patron.bills();
46 'patron_id' : g.cgi.param('patron_id'),
47 'session' : g.cgi.param('session')
50 window.refresh = function() { g.bills.refresh(); }
52 document.getElementById('bill_payment_amount').focus();
55 var err_msg = "!! This software has encountered an error. Please tell your friendly " +
56 "system administrator or software developer the following:\n" + E + '\n';
57 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
65 <commandset id="bills_cmds">
66 <command id="cmd_bill_wizard" />
67 <command id="cmd_bill_apply_payment" />
68 <command id="cmd_change_to_credit" />
71 <box id="bills_main" />