4 -- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
6 -- NOTE: If the template ID requires changing, beware it appears in
9 INSERT INTO config.print_template
10 (id, name, locale, active, owner, label, template)
12 4, 'hold_pull_list', 'en-US', TRUE,
13 (SELECT id FROM actor.org_unit WHERE parent_ou IS NULL),
14 oils_i18n_gettext(4, 'Hold Pull List ', 'cpt', 'label'),
18 UPDATE config.print_template SET template =
22 SET holds = template_data;
23 # template_data is an arry of wide_hold hashes.
27 #holds-pull-list-table td {
29 border: 1px solid rgba(0,0,0,.05);
32 <table id="holds-pull-list-table">
38 <th>Shelf Location</th>
44 [% FOR hold IN holds %]
46 <td>[% hold.hold_type %]</td>
47 <td style="width: 30%">[% hold.title %]</td>
48 <td style="width: 25%">[% hold.author %]</td>
49 <td>[% hold.acpl_name %]</td>
50 <td>[% hold.cn_full_label %]</td>
51 <td>[% hold.cp_barcode %][% IF hold.p_label %]/[% hold.p_label %][% END %]</td>
57 $TEMPLATE$ WHERE id = 4;
59 INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
61 'eg.grid.circ.holds.pull_list', 'gui', 'object',
63 'circ.holds.pull_list',
64 'Hold Pull List Grid Settings',
68 'circ.holds.pull_list.prefetch', 'gui', 'bool',
70 'circ.holds.pull_list.prefetch',
71 'Hold Pull List Prefetch Preference',