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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-7 / +9 lines)
Lines 311-322 Item types › Administration › Koha Link Here
311
                </li>
311
                </li>
312
                <li>
312
                <li>
313
                    <label for="rentalcharge">Rental charge: </label>
313
                    <label for="rentalcharge">Rental charge: </label>
314
                    <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% itemtype.rentalcharge | $Price on_editing => 1 %]" />
314
                    <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% itemtype.rentalcharge | $Price on_editing => 1 %]" min="0" />
315
                    <span class="hint">This fee is charged once per checkout/renewal per item</span>
315
                    <span class="hint">This fee is charged once per checkout/renewal per item</span>
316
                </li>
316
                </li>
317
                <li>
317
                <li>
318
                    <label for="rentalcharge_daily">Daily rental charge: </label>
318
                    <label for="rentalcharge_daily">Daily rental charge: </label>
319
                    <input type="text" id="rentalcharge_daily" name="rentalcharge_daily" size="10" value="[% itemtype.rentalcharge_daily | $Price on_editing => 1 %]" />
319
                    <input type="text" id="rentalcharge_daily" name="rentalcharge_daily" size="10" value="[% itemtype.rentalcharge_daily | $Price on_editing => 1 %]" min="0" />
320
                    <span class="hint">This fee is charged at checkout/renewal time for each day between the checkout/renewal date and due date for loans specified in days.</span>
320
                    <span class="hint">This fee is charged at checkout/renewal time for each day between the checkout/renewal date and due date for loans specified in days.</span>
321
                </li>
321
                </li>
322
                <li>
322
                <li>
Lines 330-336 Item types &rsaquo; Administration &rsaquo; Koha Link Here
330
                </li>
330
                </li>
331
                <li>
331
                <li>
332
                    <label for="rentalcharge_hourly">Hourly rental charge: </label>
332
                    <label for="rentalcharge_hourly">Hourly rental charge: </label>
333
                    <input type="text" id="rentalcharge_hourly" name="rentalcharge_hourly" size="10" value="[% itemtype.rentalcharge_hourly | $Price on_editing => 1 %]" />
333
                    <input type="text" id="rentalcharge_hourly" name="rentalcharge_hourly" size="10" value="[% itemtype.rentalcharge_hourly | $Price on_editing => 1 %]" min="0" />
334
                    <span class="hint">This fee is charged at checkout/renewal time for each hour between the checkout/renewal date and due date for loans specified in hours.</span>
334
                    <span class="hint">This fee is charged at checkout/renewal time for each hour between the checkout/renewal date and due date for loans specified in hours.</span>
335
                </li>
335
                </li>
336
                <li>
336
                <li>
Lines 344-354 Item types &rsaquo; Administration &rsaquo; Koha Link Here
344
                </li>
344
                </li>
345
                <li>
345
                <li>
346
                    <label for="defaultreplacecost">Default replacement cost: </label>
346
                    <label for="defaultreplacecost">Default replacement cost: </label>
347
                    <input type="text" id="defaultreplacecost" name="defaultreplacecost" size="10" value="[% itemtype.defaultreplacecost | $Price on_editing => 1 %]" />
347
                    <input type="text" id="defaultreplacecost" name="defaultreplacecost" size="10" value="[% itemtype.defaultreplacecost | $Price on_editing => 1 %]" min="0" />
348
                </li>
348
                </li>
349
                <li>
349
                <li>
350
                    <label for="processfee">Processing fee (when lost): </label>
350
                    <label for="processfee">Processing fee (when lost): </label>
351
                    <input type="text" id="processfee" name="processfee" size="10" value="[% itemtype.processfee | $Price on_editing => 1 %]" />
351
                    <input type="text" id="processfee" name="processfee" size="10" value="[% itemtype.processfee | $Price on_editing => 1 %]" min="0" />
352
                </li>
352
                </li>
353
                <li>
353
                <li>
354
                    <label for="checkinmsg">Checkin message: </label>
354
                    <label for="checkinmsg">Checkin message: </label>
Lines 601-607 Item types &rsaquo; Administration &rsaquo; Koha Link Here
601
                rules: {
601
                rules: {
602
                    itemtype: { required: true },
602
                    itemtype: { required: true },
603
                    description: { required: true },
603
                    description: { required: true },
604
                    rentalcharge: { number: true }
604
                    rentalcharge: { number: true },
605
                    rentalcharge_hourly: { number: true },
606
                    defaultreplacecost: { number: true },
607
                    processfee: { number: true }
605
                }
608
                }
606
            });
609
            });
607
            $("#itemtype").on("blur",function(){
610
            $("#itemtype").on("blur",function(){
608
- 

Return to bug 28985