View | Details | Raw Unified | Return to bug 21159
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (+17 lines)
Lines 624-629 Circulation: Link Here
624
            - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
624
            - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
625
            - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
625
            - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
626
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
626
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
627
        -
628
            - pref: UpdateItemLocationOnCheckout
629
              type: textarea
630
              syntax: text/x-yaml
631
              class: code
632
            - "This is a list of value pairs. The first value is followed immediately by colon space then the second value.<br/><br/>"
633
            - "Examples:<br/>"
634
            - "PROC: FIC - causes an item in the Processing Center location to be updated into the Fiction location on check out.<br/>"
635
            - "FIC: GEN - causes an item in the Fiction location to be updated into the General stacks location on check out.<br/>"
636
            - "_BLANK_: FIC - causes an item that has no location to be updated into the Fiction location on check out.<br/>"
637
            - "FIC: _BLANK_ - causes an item in location FIC to be updated to a blank location on check out.<br/>"
638
            - "_ALL_: FIC - causes all items to be updated into the Fiction location on check out.<br/>"
639
            - "PROC: _PERM_ - causes an item that is in the Processing Center to be updated to it's permanent location.<br/><br/>"
640
            - "General rule: if the location value on the left of the colon (:) matches the item's current location, it will be updated to match the location value on the right of the colon (:).<br/>"
641
            - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
642
            - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
643
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
627
        -
644
        -
628
            - pref: UpdateNotForLoanStatusOnCheckin
645
            - pref: UpdateNotForLoanStatusOnCheckin
629
              type: textarea
646
              type: textarea
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js (-2 / +1 lines)
Lines 239-245 $( document ).ready( function () { Link Here
239
        document.location.hash = "jumped";
239
        document.location.hash = "jumped";
240
    }
240
    }
241
241
242
    $("#pref_UpdateItemLocationOnCheckin").change(function(){
242
    $("#pref_UpdateItemLocationOnCheckin, #pref_UpdateItemLocationOnCheckout").change(function(){
243
        var the_text = $(this).val();
243
        var the_text = $(this).val();
244
        var alert_text = '';
244
        var alert_text = '';
245
        if (the_text.indexOf('_ALL_:') != -1) alert_text = __("Note: _ALL_ value will override all other values") + '\n';
245
        if (the_text.indexOf('_ALL_:') != -1) alert_text = __("Note: _ALL_ value will override all other values") + '\n';
246
- 

Return to bug 21159