RT#85191 Legacy billing payment print error repair
authorBill Erickson <berickxx@gmail.com>
Thu, 13 Aug 2015 20:14:22 +0000 (16:14 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commit6870bde897af2982f183c633e4654e4e7f97547a
treefe9c447e0e1d32a2309beaae1185a6a02e86e29b
parent5d1516c10d72336311289f1159c1a608a4db7b35
RT#85191 Legacy billing payment print error repair

Some legacy data has NULL values (e.g. last_billing_note) where current
data has empty strings.  This leads to exceptions and annoying, but
ultimately harmless error dialogs in the XUL client.  Add some sanity
checking to the code to avoid that.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/xul/staff_client/chrome/content/util/print.js