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

(-)a/C4/Items.pm (-7 / +5 lines)
Lines 1630-1637 sub PrepareItemrecordDisplay { Link Here
1630
                        $defaultvalue = $defaultvalues->{callnumber};
1630
                        $defaultvalue = $defaultvalues->{callnumber};
1631
                    }
1631
                    }
1632
                }
1632
                }
1633
1633
                if (   ( $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.holdingbranch' || $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.homebranch' )
1634
                       if (   ( $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.holdingbranch' || $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.homebranch' )
1635
                    && $defaultvalues
1634
                    && $defaultvalues
1636
                    && $defaultvalues->{'branchcode'} ) {
1635
                    && $defaultvalues->{'branchcode'} ) {
1637
                    if ( $itemrecord and $defaultvalues and not $itemrecord->subfield($tag,$subfield) ) {
1636
                    if ( $itemrecord and $defaultvalues and not $itemrecord->subfield($tag,$subfield) ) {
Lines 1650-1658 sub PrepareItemrecordDisplay { Link Here
1650
                        $defaultvalue = $defaultvalues->{location};
1649
                        $defaultvalue = $defaultvalues->{location};
1651
                    }
1650
                    }
1652
                }
1651
                }
1653
                #Set the default items.price from the aqorders.unitprice
1652
                #Set the default items.price from the aq order budgeted price
1654
                if ( $lastOrder->{unitprice} && $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.price' ) {
1653
                if ( $lastOrder->{ecost} && $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.price' ) {
1655
                    $defaultvalue = $lastOrder->{unitprice};
1654
                    $defaultvalue = $lastOrder->{ecost};
1656
                }
1655
                }
1657
                #Set the default items.replacementprice from the aqorders.replacementprice
1656
                #Set the default items.replacementprice from the aqorders.replacementprice
1658
                if ( $lastOrder->{replacementprice} && $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.replacementprice' ) {
1657
                if ( $lastOrder->{replacementprice} && $tagslib->{$tag}->{$subfield}->{kohafield} eq 'items.replacementprice' ) {
Lines 1692-1700 sub PrepareItemrecordDisplay { Link Here
1692
                            }
1691
                            }
1693
                        }
1692
                        }
1694
1693
1695
                        $defaultvalue = C4::Context->userenv ? C4::Context->userenv->{branch} : undef;
1696
                        if ( $defaultvalues and $defaultvalues->{branchcode} ) {
1694
                        if ( $defaultvalues and $defaultvalues->{branchcode} ) {
1697
                            $defaultvalue = $defaultvalues->{branchcode};
1695
                            $defaultvalue = C4::Context->userenv ? C4::Context->userenv->{branch} : $defaultvalues->{branchcode};
1698
                        }
1696
                        }
1699
1697
1700
                        #----- itemtypes
1698
                        #----- itemtypes
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-1 / +1 lines)
Lines 32-38 Cataloging: Link Here
32
              choices:
32
              choices:
33
                  yes: "Enable"
33
                  yes: "Enable"
34
                  no: "Disable"
34
                  no: "Disable"
35
            - If enabled the 952$d Date Acquired will be populate on page load rather than requiring the user to click in the input field
35
            - If enabled the 952$d Date Acquired field will be populated on page load rather than requiring the user to click in the input field
36
    Spine Labels:
36
    Spine Labels:
37
        -
37
        -
38
            - When using the quick spine label printer,
38
            - When using the quick spine label printer,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/serials.pref (-1 / +1 lines)
Lines 67-70 Serials: Link Here
67
          choices:
67
          choices:
68
            yes: Enable
68
            yes: Enable
69
            no: Disable
69
            no: Disable
70
        - If enabled the 'Create an item record when receiving this serial' checkbox in serials/subscription-add.pl will be ticked by default
70
        - If enabled the 'Create an item record when receiving this serial' checkbox in the subscription add form will be ticked by default
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-2 / +1 lines)
Lines 326-332 fieldset.rows table { clear: none; margin: 0; } Link Here
326
                                    </li>
326
                                    </li>
327
                                    <ul>
327
                                    <ul>
328
                                        <li>
328
                                        <li>
329
                                            <label for="ccode" class="required">Serial issue Collection code:</label>
329
                                            <label for="ccode" class="required">Serial issue collection code:</label>
330
                                            <select name="ccode" id="ccode">
330
                                            <select name="ccode" id="ccode">
331
                                                [% FOREACH ccode_value IN ccode_loop %]
331
                                                [% FOREACH ccode_value IN ccode_loop %]
332
                                                   [% IF (ccode_value.selected) %]
332
                                                   [% IF (ccode_value.selected) %]
333
- 

Return to bug 23352