]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1740535: retrieve list of billing types
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 29 Mar 2018 15:46:03 +0000 (11:46 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 13 Jun 2018 20:30:45 +0000 (16:30 -0400)
commita7e44a63a423c7c3701a3bcb18ee911de4056034
tree7bd8a7a26e663bcd4576abeb0b13384cb311da6c
parentee5fb8e1f2c53363fec3cee8de8026d8fce292ac
LP#1740535: retrieve list of billing types

This patch changes how the web staff client retrieves the list
of billing types available for use by the Bill Patron modal. PCRUD
permissions on config.billing_type don't quite match how the
the set of billing types available to a staff user used to work
in the XUL staff client, so this patch uses the
open-ils.circ.billing_type.ranged.retrieve.all method instead.

To test
-------
[1] Log in as a Circulators staff user (assuming stock data
    and permissions).
[2] Try the Bill Patron dialog in the web staff client; note that
    no billing types are accessible.
[3] Apply the patch and repeat step #2. This time, it should
    include the miscellaneous billing type.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/circ/services/billing.js