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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-1 / +2 lines)
Lines 1392-1397 Link Here
1392
    [% INCLUDE 'datatables.inc' %]
1392
    [% INCLUDE 'datatables.inc' %]
1393
    [% INCLUDE 'calendar.inc' %]
1393
    [% INCLUDE 'calendar.inc' %]
1394
    [% INCLUDE 'columns_settings.inc' %]
1394
    [% INCLUDE 'columns_settings.inc' %]
1395
    [% INCLUDE 'format_price.inc' %]
1395
    <script>
1396
    <script>
1396
         $(document).ready(function() {
1397
         $(document).ready(function() {
1397
            KohaTable("default-circulation-rules", {
1398
            KohaTable("default-circulation-rules", {
Lines 1486-1491 Link Here
1486
                        $('#overduefinescap').prop('disabled', cap_fine_to_replacement_price.is(':checked') );
1487
                        $('#overduefinescap').prop('disabled', cap_fine_to_replacement_price.is(':checked') );
1487
                    } else {
1488
                    } else {
1488
                        $(current_column).find("input[type='text']").val(itm);
1489
                        $(current_column).find("input[type='text']").val(itm);
1490
                        $(current_column).find("input[inputmode='decimal']").val(itm.unformat_price());
1489
                        // select the corresponding option
1491
                        // select the corresponding option
1490
                        $(current_column).find("select option").each(function(){
1492
                        $(current_column).find("select option").each(function(){
1491
                            opt = $(this).text().toLowerCase();
1493
                            opt = $(this).text().toLowerCase();
1492
- 

Return to bug 33028