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 635-640 Circulation: Link Here
635
            - "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/>"
635
            - "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/>"
636
            - "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/>"
636
            - "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/>"
637
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
637
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
638
        -
639
            - pref: UpdateItemLocationOnCheckout
640
              type: textarea
641
              syntax: text/x-yaml
642
              class: code
643
            - "This is a list of value pairs. The first value is followed immediately by colon space then the second value.<br/><br/>"
644
            - "Examples:<br/>"
645
            - "PROC: FIC - causes an item in the Processing Center location to be updated into the Fiction location on check out.<br/>"
646
            - "FIC: GEN - causes an item in the Fiction location to be updated into the General stacks location on check out.<br/>"
647
            - "_BLANK_: FIC - causes an item that has no location to be updated into the Fiction location on check out.<br/>"
648
            - "FIC: _BLANK_ - causes an item in location FIC to be updated to a blank location on check out.<br/>"
649
            - "_ALL_: FIC - causes all items to be updated into the Fiction location on check out.<br/>"
650
            - "PROC: _PERM_ - causes an item that is in the Processing Center to be updated to it's permanent location.<br/><br/>"
651
            - "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/>"
652
            - "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/>"
653
            - "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/>"
654
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
638
        -
655
        -
639
            - pref: UpdateNotForLoanStatusOnCheckin
656
            - pref: UpdateNotForLoanStatusOnCheckin
640
              type: textarea
657
              type: textarea
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js (-2 / +1 lines)
Lines 184-190 $( document ).ready( function () { Link Here
184
        document.location.hash = "jumped";
184
        document.location.hash = "jumped";
185
    }
185
    }
186
186
187
    $("#pref_UpdateItemLocationOnCheckin").change(function(){
187
    $("#pref_UpdateItemLocationOnCheckin, #pref_UpdateItemLocationOnCheckout").change(function(){
188
        var the_text = $(this).val();
188
        var the_text = $(this).val();
189
        var alert_text = '';
189
        var alert_text = '';
190
        if (the_text.indexOf('_ALL_:') != -1) alert_text = __("Note: _ALL_ value will override all other values") + '\n';
190
        if (the_text.indexOf('_ALL_:') != -1) alert_text = __("Note: _ALL_ value will override all other values") + '\n';
191
- 

Return to bug 21159