pass patron id through payment_blob
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 16 Nov 2005 22:47:51 +0000 (22:47 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 16 Nov 2005 22:47:51 +0000 (22:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2047 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/patron/patron_bills.js
Evergreen/staff_client/chrome/content/evergreen/patron/patron_display.js

index 08ddb04..989e433 100644 (file)
@@ -140,6 +140,8 @@ function patron_bills_init(p) {
                'command',
                function() { 
                        var payment_blob = {};
+                       payment_blob.userid = p._patron.id();
+                       payment_blob.note = '';
                        payment_blob.cash_drawer = 1; // FIXME: get new Config() to work
                        payment_blob.payment_type = p.control_box.payment_type.value;
                        payment_blob.payments = [];
index 84cb014..8c598b7 100755 (executable)
@@ -26,6 +26,7 @@ function patron_display_init(p) {
 
        p.set_patron = function (au) {
                p.patron_edit._patron = au;
+               p.patron_bills._patron = au;
                return p._patron = au;
        }