LP#1350371 PO name on create w/ dupe detect
authorBill Erickson <berick@esilibrary.com>
Wed, 30 Jul 2014 19:02:22 +0000 (15:02 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 31 Jul 2014 13:19:43 +0000 (09:19 -0400)
commitdbd87dad7ef4091a66de6d4c3c58e9331eb25d8d
tree9364ff6ba09ef1d0cfc3ab101861215f6a5556a0
parente46f3323b4acb152d666b92c0ba5f4442b9ac2c0
LP#1350371 PO name on create w/ dupe detect

Adds support for entering a PO name at PO creation time, both from the
picklist page and from the PO create page.  If a name is entered which
matches the name of an existing PO at or below the ordering agency, a
link to the matching PO is shown and the user is prevented from creating
the PO until the name is changed or cleared.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
Open-ILS/src/templates/acq/common/li_table.tt2
Open-ILS/web/js/dojo/openils/acq/nls/acq.js
Open-ILS/web/js/dojo/openils/widget/EditPane.js
Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js
Open-ILS/web/js/ui/default/acq/common/li_table.js
Open-ILS/web/js/ui/default/acq/po/create.js