Acq: better error message if trying to create PO without provider or agency
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Thu, 6 Oct 2011 20:13:51 +0000 (16:13 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 4 Nov 2011 17:04:30 +0000 (13:04 -0400)
commit05e16eea42d1b6c4e282f36dd434d8170cc9669a
treeb57d347a70cc0f28a94ddeb6342904e7116bedd7
parent9a0120762a77f44f2f117b574f20ed4cd5ae7da1
Acq: better error message if trying to create PO without provider or agency

Before now, if you leave either the provider or ordering agency
fields blank in the "Create Purchase Order" dialog, you get a
nonsensical warning about prepayment.

This fixes that.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/acq/nls/acq.js
Open-ILS/web/js/ui/default/acq/common/li_table.js