Lines 166-171
Link Here
|
166 |
Is local float group |
166 |
Is local float group |
167 |
</label> |
167 |
</label> |
168 |
</p> |
168 |
</p> |
|
|
169 |
<p> |
170 |
<label> |
171 |
<input type="checkbox" name="ft_acquisitions" id="add-group-modal-ft_acquisitions" value="1" /> |
172 |
Use in the acquisitions module |
173 |
</label> |
174 |
</p> |
169 |
</div> |
175 |
</div> |
170 |
</div> |
176 |
</div> |
171 |
</div> |
177 |
</div> |
Lines 244-249
Link Here
|
244 |
Is local float group |
250 |
Is local float group |
245 |
</label> |
251 |
</label> |
246 |
</p> |
252 |
</p> |
|
|
253 |
<p> |
254 |
<label> |
255 |
<input type="checkbox" id="edit-group-modal-ft_acquisitions" name="ft_acquisitions" value="1" /> |
256 |
Use in the acquisitions module |
257 |
</label> |
258 |
</p> |
247 |
</div> |
259 |
</div> |
248 |
</div> |
260 |
</div> |
249 |
</div> |
261 |
</div> |
Lines 330-336
Link Here
|
330 |
var ft_search_groups_staff = $(this).data('groupFt_search_groups_staff'); |
342 |
var ft_search_groups_staff = $(this).data('groupFt_search_groups_staff'); |
331 |
var ft_local_hold_group = $(this).data('groupFt_local_hold_group'); |
343 |
var ft_local_hold_group = $(this).data('groupFt_local_hold_group'); |
332 |
var ft_local_float_group = $(this).data('groupFt_local_float_group'); |
344 |
var ft_local_float_group = $(this).data('groupFt_local_float_group'); |
333 |
edit_group( id, parent_id, title, description, ft_hide_patron_info, ft_search_groups_opac, ft_search_groups_staff, ft_local_hold_group, ft_limit_item_editing, ft_local_float_group ); |
345 |
var ft_acquisitions = $(this).data('groupFt_acquisitions'); |
|
|
346 |
edit_group( id, parent_id, title, description, ft_hide_patron_info, ft_search_groups_opac, ft_search_groups_staff, ft_local_hold_group, ft_limit_item_editing, ft_local_float_group, ft_acquisitions ); |
334 |
}); |
347 |
}); |
335 |
|
348 |
|
336 |
$('.delete-group').on('click', function(e) { |
349 |
$('.delete-group').on('click', function(e) { |
Lines 368-373
Link Here
|
368 |
$('#add-group-modal-ft_search_groups_staff').prop('checked', false); |
381 |
$('#add-group-modal-ft_search_groups_staff').prop('checked', false); |
369 |
$('#add-group-modal-ft_local_hold_group').prop('checked', false); |
382 |
$('#add-group-modal-ft_local_hold_group').prop('checked', false); |
370 |
$('#add-group-modal-ft_local_float_group').prop('checked', false); |
383 |
$('#add-group-modal-ft_local_float_group').prop('checked', false); |
|
|
384 |
$('#add-group-modal-ft_acquisitions').prop('checked', false); |
371 |
if ( parent_id ) { |
385 |
if ( parent_id ) { |
372 |
$('#root-group-features-add').hide(); |
386 |
$('#root-group-features-add').hide(); |
373 |
} else { |
387 |
} else { |
Lines 377-383
Link Here
|
377 |
|
391 |
|
378 |
} |
392 |
} |
379 |
|
393 |
|
380 |
function edit_group( id, parent_id, title, description, ft_hide_patron_info, ft_search_groups_opac, ft_search_groups_staff, ft_local_hold_group, ft_limit_item_editing, ft_local_float_group ) { |
394 |
function edit_group( id, parent_id, title, description, ft_hide_patron_info, ft_search_groups_opac, ft_search_groups_staff, ft_local_hold_group, ft_limit_item_editing, ft_local_float_group, ft_acquisitions ) { |
381 |
$('#edit-group-modal-id').val( id ); |
395 |
$('#edit-group-modal-id').val( id ); |
382 |
$('#edit-group-modal-title').val( title ); |
396 |
$('#edit-group-modal-title').val( title ); |
383 |
$('#edit-group-modal-description').val( description ); |
397 |
$('#edit-group-modal-description').val( description ); |
Lines 388-393
Link Here
|
388 |
$('#edit-group-modal-ft_search_groups_staff').prop('checked', false); |
402 |
$('#edit-group-modal-ft_search_groups_staff').prop('checked', false); |
389 |
$('#edit-group-modal-ft_local_hold_group').prop('checked', false); |
403 |
$('#edit-group-modal-ft_local_hold_group').prop('checked', false); |
390 |
$('#edit-group-modal-ft_local_float_group').prop('checked', false); |
404 |
$('#edit-group-modal-ft_local_float_group').prop('checked', false); |
|
|
405 |
$('#edit-group-modal-ft_acquisitions').prop('checked', false); |
391 |
$('#root-group-features-edit').hide(); |
406 |
$('#root-group-features-edit').hide(); |
392 |
} else { |
407 |
} else { |
393 |
$('#edit-group-modal-ft_hide_patron_info').prop('checked', ft_hide_patron_info ? true : false ); |
408 |
$('#edit-group-modal-ft_hide_patron_info').prop('checked', ft_hide_patron_info ? true : false ); |
Lines 396-401
Link Here
|
396 |
$('#edit-group-modal-ft_search_groups_staff').prop('checked', ft_search_groups_staff ? true : false ); |
411 |
$('#edit-group-modal-ft_search_groups_staff').prop('checked', ft_search_groups_staff ? true : false ); |
397 |
$('#edit-group-modal-ft_local_hold_group').prop('checked', ft_local_hold_group ? true : false ); |
412 |
$('#edit-group-modal-ft_local_hold_group').prop('checked', ft_local_hold_group ? true : false ); |
398 |
$('#edit-group-modal-ft_local_float_group').prop('checked', ft_local_float_group ? true : false ); |
413 |
$('#edit-group-modal-ft_local_float_group').prop('checked', ft_local_float_group ? true : false ); |
|
|
414 |
$('#edit-group-modal-ft_acquisitions').prop('checked', ft_acquisitions ? true : false ); |
399 |
$('#root-group-features-edit').show(); |
415 |
$('#root-group-features-edit').show(); |
400 |
} |
416 |
} |
401 |
|
417 |
|
Lines 457-462
Link Here
|
457 |
[% IF group.ft_local_float_group %] |
473 |
[% IF group.ft_local_float_group %] |
458 |
<li>Is local float group</li> |
474 |
<li>Is local float group</li> |
459 |
[% END %] |
475 |
[% END %] |
|
|
476 |
[% IF group.ft_acquisitions %] |
477 |
<li>Use in the acquisitions module</li> |
478 |
[% END %] |
460 |
</ul> |
479 |
</ul> |
461 |
[% END %] |
480 |
[% END %] |
462 |
</td> |
481 |
</td> |
Lines 474-480
Link Here
|
474 |
</li> |
493 |
</li> |
475 |
|
494 |
|
476 |
<li> |
495 |
<li> |
477 |
<a class="edit-group dropdown-item" id="edit-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-parent-id="[% group.parent_id | html %]" data-group-title="[% group.title | html %]" data-group-description="[% group.description | html %]" data-group-ft_hide_patron_info="[% group.ft_hide_patron_info | html %]" data-group-ft_search_groups_opac="[% group.ft_search_groups_opac | html %]" data-group-ft_search_groups_staff="[% group.ft_search_groups_staff | html %]" data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" data-group-ft_limit_item_editing="[% group.ft_limit_item_editing | html %]" data-group-ft_local_float_group="[% group.ft_local_float_group | html %]" > |
496 |
<a class="edit-group dropdown-item" id="edit-group-[% group.id | html %]" href="#" data-group-id="[% group.id | html %]" data-group-parent-id="[% group.parent_id | html %]" data-group-title="[% group.title | html %]" data-group-description="[% group.description | html %]" data-group-ft_hide_patron_info="[% group.ft_hide_patron_info | html %]" data-group-ft_search_groups_opac="[% group.ft_search_groups_opac | html %]" data-group-ft_search_groups_staff="[% group.ft_search_groups_staff | html %]" data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" data-group-ft_limit_item_editing="[% group.ft_limit_item_editing | html %]" data-group-ft_local_float_group="[% group.ft_local_float_group | html %]" data-group-ft_acquisitions="[% group.ft_acquisitions | html %]" > |
478 |
<i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit |
497 |
<i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit |
479 |
</a> |
498 |
</a> |
480 |
</li> |
499 |
</li> |