fix bill_payment_applied observer for real this time
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Dec 2005 01:55:04 +0000 (01:55 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Dec 2005 01:55:04 +0000 (01:55 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2492 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/bills.js

index 8df4d92..a6f0115 100644 (file)
@@ -277,6 +277,7 @@ patron.bills.prototype = {
                        obj.controller.view.bill_payment_amount.value = util.money.cents_as_dollars( total_applied );
                }
                obj.controller.view.bill_payment_applied.value = util.money.cents_as_dollars( total_applied );
+               obj.controller.view.bill_payment_applied.setAttribute('value', obj.controller.view.bill_payment_applied.value )
                obj.controller.view.bill_credit_amount.value = '';
                if (total_payment > total_applied ) {
                        obj.controller.view.bill_change_amount.value = util.money.cents_as_dollars( total_payment - total_applied);