From 93991541633f8720f21b83c5b018d73d27b1e0ea Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 28 Oct 2013 15:57:52 -0400 Subject: [PATCH] ff and ui : fulfillment_admin perm; paging improvements Signed-off-by: Bill Erickson --- Open-ILS/src/sql/Pg/fulfillment-mods.sql | 9 ++++ .../src/templates/staff/fulfillment/t_actions.tt2 | 16 +++++-- .../web/js/ui/default/staff/fulfillment/app.js | 53 +++++++++++++++------- 3 files changed, 59 insertions(+), 19 deletions(-) diff --git a/Open-ILS/src/sql/Pg/fulfillment-mods.sql b/Open-ILS/src/sql/Pg/fulfillment-mods.sql index aaaa85be54..7d70751351 100644 --- a/Open-ILS/src/sql/Pg/fulfillment-mods.sql +++ b/Open-ILS/src/sql/Pg/fulfillment-mods.sql @@ -114,6 +114,15 @@ CREATE TRIGGER bre_load_item_tgr AFTER INSERT ON biblio.record_entry -- SEED DATA ----------------------------------------------------------------- +-- note: we can't pin a well-known ID, because it will eventually get so +-- i18n is not represented yet. +INSERT INTO permission.perm_list (code, description) +VALUES ( + 'FULFILLMENT_ADMIN', + 'Allows administration of fulfillment transactions' +); + + INSERT INTO action_trigger.hook (key,core_type,description,passive) VALUES ('refresh_timeout.bre','bre','Bib record needs to be refreshed',TRUE); INSERT INTO action_trigger.hook (key,core_type,description,passive) diff --git a/Open-ILS/src/templates/staff/fulfillment/t_actions.tt2 b/Open-ILS/src/templates/staff/fulfillment/t_actions.tt2 index 64674a05ba..6d9c3ba148 100644 --- a/Open-ILS/src/templates/staff/fulfillment/t_actions.tt2 +++ b/Open-ILS/src/templates/staff/fulfillment/t_actions.tt2 @@ -1,10 +1,20 @@
- - - +