Credit card related params for open-ils.circ.money.payment have been re-arranged.
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Oct 2009 22:06:32 +0000 (22:06 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Oct 2009 22:06:32 +0000 (22:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14342 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/bill_cc_info.xul

index 0ca2592..0588632 100644 (file)
@@ -43,7 +43,7 @@
                        g.error.sdump('D_TRACE','my_init() for patron_display.xul');
                        g.OpenILS = {}; JSAN.use('OpenILS.data'); g.OpenILS.data = new OpenILS.data();
                        g.OpenILS.data.init({'via':'stash'});
-                       g.payment_blob = { 'cancelled' : true };
+                       g.payment_blob = { 'cc_args' : {}, 'cancelled' : true };
                        g.OpenILS.data.temp = js2JSON( g.payment_blob );
                        g.OpenILS.data.stash('temp');
 
@@ -69,7 +69,7 @@
                        <rows>
                                <row>
                                        <label value="&staff.patron.bill_cc_info.type.label;"/>
-                                       <menulist id="cc_type" oncommand="g.payment_blob.cc_type = this.value;">
+                                       <menulist id="cc_type" oncommand="g.payment_blob.cc_args.type = this.value;">
                                                <menupopup>
                                                        <menuitem label="&staff.patron.bill_cc_info.visa.label;" value="Visa"/>
                                                        <menuitem label="&staff.patron.bill_cc_info.mastercard.label;" value="Mastercard"/>
                                </row>
                                <row>
                                        <label value="&staff.patron.bill_cc_info.cc_number.value;"/>
-                                       <textbox id="cc_number" onchange="g.payment_blob.cc_number = event.target.value" context="clipboard"/>
+                                       <textbox id="cc_number" onchange="g.payment_blob.cc_args.number = event.target.value" context="clipboard"/>
                                </row>
                                <row>
                                        <label value="&staff.patron.bill_cc_info.month_expire.value;"/>
-                                       <textbox id="expire_month" onchange="g.payment_blob.expire_month = event.target.value" context="clipboard"/>
+                                       <textbox id="expire_month" onchange="g.payment_blob.cc_args.expire_month = event.target.value" context="clipboard"/>
                                </row>
                                <row>
                                        <label value="&staff.patron.bill_cc_info.year_expire.value;"/>
-                                       <textbox id="expire_year" onchange="g.payment_blob.expire_year = event.target.value" context="clipboard"/>
+                                       <textbox id="expire_year" onchange="g.payment_blob.cc_args.expire_year = event.target.value" context="clipboard"/>
                                </row>
                                <row>
                                        <label value="&staff.patron.bill_cc_info.approval_code.value;"/>
-                                       <textbox id="approval_code" onchange="g.payment_blob.approval_code = event.target.value" context="clipboard"/>
+                                       <textbox id="approval_code" onchange="g.payment_blob.cc_args.approval_code = event.target.value" context="clipboard"/>
                                </row>
                                <row>
                                        <label value="&staff.patron.bill_cc_info.note.value;"/>