Lines 152-157
Link Here
|
152 |
Is local float group |
152 |
Is local float group |
153 |
</label> |
153 |
</label> |
154 |
</p> |
154 |
</p> |
|
|
155 |
<p> |
156 |
<label> |
157 |
<input type="checkbox" name="ft_acquisitions" id="add-group-modal-ft_acquisitions" value="1" /> |
158 |
Use in the acquisitions module |
159 |
</label> |
160 |
</p> |
155 |
</div> |
161 |
</div> |
156 |
</div> |
162 |
</div> |
157 |
</div> |
163 |
</div> |
Lines 235-240
Link Here
|
235 |
Is local float group |
241 |
Is local float group |
236 |
</label> |
242 |
</label> |
237 |
</p> |
243 |
</p> |
|
|
244 |
<p> |
245 |
<label> |
246 |
<input type="checkbox" id="edit-group-modal-ft_acquisitions" name="ft_acquisitions" value="1" /> |
247 |
Use in the acquisitions module |
248 |
</label> |
249 |
</p> |
238 |
</div> |
250 |
</div> |
239 |
</div> |
251 |
</div> |
240 |
</div> |
252 |
</div> |
Lines 331-337
Link Here
|
331 |
var ft_search_groups_staff = $(this).data("groupFt_search_groups_staff"); |
343 |
var ft_search_groups_staff = $(this).data("groupFt_search_groups_staff"); |
332 |
var ft_local_hold_group = $(this).data("groupFt_local_hold_group"); |
344 |
var ft_local_hold_group = $(this).data("groupFt_local_hold_group"); |
333 |
var ft_local_float_group = $(this).data("groupFt_local_float_group"); |
345 |
var ft_local_float_group = $(this).data("groupFt_local_float_group"); |
334 |
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); |
346 |
var ft_acquisitions = $(this).data("groupFt_acquisitions"); |
|
|
347 |
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); |
335 |
}); |
348 |
}); |
336 |
|
349 |
|
337 |
$(".delete-group").on("click", function (e) { |
350 |
$(".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 376-382
Link Here
|
376 |
$("#add-group-modal").modal("show"); |
390 |
$("#add-group-modal").modal("show"); |
377 |
} |
391 |
} |
378 |
|
392 |
|
379 |
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) { |
393 |
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) { |
380 |
$("#edit-group-modal-id").val(id); |
394 |
$("#edit-group-modal-id").val(id); |
381 |
$("#edit-group-modal-title").val(title); |
395 |
$("#edit-group-modal-title").val(title); |
382 |
$("#edit-group-modal-description").val(description); |
396 |
$("#edit-group-modal-description").val(description); |
Lines 387-392
Link Here
|
387 |
$("#edit-group-modal-ft_search_groups_staff").prop("checked", false); |
401 |
$("#edit-group-modal-ft_search_groups_staff").prop("checked", false); |
388 |
$("#edit-group-modal-ft_local_hold_group").prop("checked", false); |
402 |
$("#edit-group-modal-ft_local_hold_group").prop("checked", false); |
389 |
$("#edit-group-modal-ft_local_float_group").prop("checked", false); |
403 |
$("#edit-group-modal-ft_local_float_group").prop("checked", false); |
|
|
404 |
$("#edit-group-modal-ft_acquisitions").prop("checked", false); |
390 |
$("#root-group-features-edit").hide(); |
405 |
$("#root-group-features-edit").hide(); |
391 |
} else { |
406 |
} else { |
392 |
$("#edit-group-modal-ft_hide_patron_info").prop("checked", ft_hide_patron_info ? true : false); |
407 |
$("#edit-group-modal-ft_hide_patron_info").prop("checked", ft_hide_patron_info ? true : false); |
Lines 395-400
Link Here
|
395 |
$("#edit-group-modal-ft_search_groups_staff").prop("checked", ft_search_groups_staff ? true : false); |
410 |
$("#edit-group-modal-ft_search_groups_staff").prop("checked", ft_search_groups_staff ? true : false); |
396 |
$("#edit-group-modal-ft_local_hold_group").prop("checked", ft_local_hold_group ? true : false); |
411 |
$("#edit-group-modal-ft_local_hold_group").prop("checked", ft_local_hold_group ? true : false); |
397 |
$("#edit-group-modal-ft_local_float_group").prop("checked", ft_local_float_group ? true : false); |
412 |
$("#edit-group-modal-ft_local_float_group").prop("checked", ft_local_float_group ? true : false); |
|
|
413 |
$("#edit-group-modal-ft_acquisitions").prop("checked", ft_acquisitions ? true : false); |
398 |
$("#root-group-features-edit").show(); |
414 |
$("#root-group-features-edit").show(); |
399 |
} |
415 |
} |
400 |
|
416 |
|
Lines 455-460
Link Here
|
455 |
[% IF group.ft_local_float_group %] |
471 |
[% IF group.ft_local_float_group %] |
456 |
<li>Is local float group</li> |
472 |
<li>Is local float group</li> |
457 |
[% END %] |
473 |
[% END %] |
|
|
474 |
[% IF group.ft_acquisitions %] |
475 |
<li>Use in the acquisitions module</li> |
476 |
[% END %] |
458 |
</ul> |
477 |
</ul> |
459 |
[% END %] |
478 |
[% END %] |
460 |
</td> |
479 |
</td> |
Lines 486-491
Link Here
|
486 |
data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" |
505 |
data-group-ft_local_hold_group="[% group.ft_local_hold_group | html %]" |
487 |
data-group-ft_limit_item_editing="[% group.ft_limit_item_editing | html %]" |
506 |
data-group-ft_limit_item_editing="[% group.ft_limit_item_editing | html %]" |
488 |
data-group-ft_local_float_group="[% group.ft_local_float_group | html %]" |
507 |
data-group-ft_local_float_group="[% group.ft_local_float_group | html %]" |
|
|
508 |
data-group-ft_acquisitions="[% group.ft_acquisitions | html %]" |
489 |
> |
509 |
> |
490 |
<i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit |
510 |
<i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit |
491 |
</a> |
511 |
</a> |