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

(-)a/installer/onboarding.pl (-3 / +6 lines)
Lines 242-247 if ( $step == 5 ) { Link Here
242
        my $lengthunit      = $input->param('lengthunit');
242
        my $lengthunit      = $input->param('lengthunit');
243
        my $renewalsallowed = $input->param('renewalsallowed');
243
        my $renewalsallowed = $input->param('renewalsallowed');
244
        my $renewalperiod   = $input->param('renewalperiod');
244
        my $renewalperiod   = $input->param('renewalperiod');
245
        my $reservesallowed = $input->param('reservesallowed');
246
        my $holds_per_day   = $input->param('holds_per_day');
247
        my $holds_per_record = $input->param('holds_per_record');
245
        my $onshelfholds    = $input->param('onshelfholds') || 0;
248
        my $onshelfholds    = $input->param('onshelfholds') || 0;
246
        $maxissueqty =~ s/\s//g;
249
        $maxissueqty =~ s/\s//g;
247
        $maxissueqty = undef if $maxissueqty !~ /^\d+/;
250
        $maxissueqty = undef if $maxissueqty !~ /^\d+/;
Lines 267-274 if ( $step == 5 ) { Link Here
267
                firstremind                      => 0,
270
                firstremind                      => 0,
268
                hardduedate                      => "",
271
                hardduedate                      => "",
269
                hardduedatecompare               => -1,
272
                hardduedatecompare               => -1,
270
                holds_per_day                    => undef,
273
                holds_per_day                    => $holds_per_day,
271
                holds_per_record                 => 1,
274
                holds_per_record                 => $holds_per_record,
272
                maxissueqty                      => "",
275
                maxissueqty                      => "",
273
                maxonsiteissueqty                => "",
276
                maxonsiteissueqty                => "",
274
                maxsuspensiondays                => "",
277
                maxsuspensiondays                => "",
Lines 278-284 if ( $step == 5 ) { Link Here
278
                opacitemholds                    => "N",
281
                opacitemholds                    => "N",
279
                overduefinescap                  => "",
282
                overduefinescap                  => "",
280
                rentaldiscount                   => 0,
283
                rentaldiscount                   => 0,
281
                reservesallowed                  => 0,
284
                reservesallowed                  => $reservesallowed,
282
                suspension_chargeperiod          => undef,
285
                suspension_chargeperiod          => undef,
283
              }
286
              }
284
        };
287
        };
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt (-2 / +16 lines)
Lines 110-115 Link Here
110
                                </li>
110
                                </li>
111
111
112
                                <li>
112
                                <li>
113
                                    <label for="reservesallowed">Holds allowed (total): </label>
114
                                    <input type="number" name="reservesallowed" id="reservesallowed" size="10" value="10" min="0">
115
                                </li>
116
117
                                <li>
118
                                    <label for="holds_per_day">Holds allowed (daily): </label>
119
                                    <input type="number" name="holds_per_day" id="holds_per_day" size="10" value="10" min="0">
120
                                </li>
121
122
                                <li>
123
                                    <label for="holds_per_record">Holds per record (count): </label>
124
                                    <input type="number" name="holds_per_record" id="holds_per_record" size="10" value="1" min="0">
125
                                </li>
126
127
                                <li>
113
                                    <label for="onshelfholds">On shelf holds allowed: </label>
128
                                    <label for="onshelfholds">On shelf holds allowed: </label>
114
                                    <select name="onshelfholds" id="onshelfholds" required="required">
129
                                    <select name="onshelfholds" id="onshelfholds" required="required">
115
                                        <option value="">Choose</option>
130
                                        <option value="">Choose</option>
Lines 139-142 Link Here
139
    <script src="[% interface | html %]/[% theme | html %]/js/onboarding.js"></script>
154
    <script src="[% interface | html %]/[% theme | html %]/js/onboarding.js"></script>
140
[% END %]
155
[% END %]
141
156
142
[% INCLUDE 'installer-intranet-bottom.inc' %]
157
[% INCLUDE 'installer-intranet-bottom.inc' %]
143
- 

Return to bug 22655