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:46:22 +0000 (13:46 -0400)
commit540554a743add4c9692be71deb31c916021564f5
treed3188cb88fc7e94a5d43b22252c3f4a9fdea47d7
parentb1d7ea123ca35c6df8c049c732756eb2273cffcf
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