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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +1 lines)
Lines 1008-1014 Link Here
1008
1008
1009
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
1009
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
1010
        var fines = "[% fines | $Price %]";
1010
        var fines = "[% fines | $Price %]";
1011
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s\nAre you sure you want to renew checkout(s)?").format(fines);
1011
        var MSG_CONFIRM_RENEW = _("The patron has a debt of %s\nAre you sure you want to renew checkout(s)?").format(fines);
1012
1012
1013
        // On-site checkout
1013
        // On-site checkout
1014
        function toggle_onsite_checkout(){
1014
        function toggle_onsite_checkout(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +2 lines)
Lines 731-738 Link Here
731
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
731
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
732
732
733
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
733
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
734
        var fines = "[% fines | html %]";
734
        var fines = "[% fines | $Price %]";
735
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
735
        var MSG_CONFIRM_RENEW = _("The patron has a debt of %s\n Are you sure you want to renew checkout(s)?").format(fines);
736
736
737
        $(document).ready(function() {
737
        $(document).ready(function() {
738
            $("#info_digests").tooltip();
738
            $("#info_digests").tooltip();
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-2 / +1 lines)
Lines 644-650 $(document).ready(function() { Link Here
644
            var itemnumber = $(this).val();
644
            var itemnumber = $(this).val();
645
645
646
            if(show_confirm  && parseFloat(fines) > parseFloat(amountlimit) ) {
646
            if(show_confirm  && parseFloat(fines) > parseFloat(amountlimit) ) {
647
                var result = confirm(MSG_CONFRIM_RENEW);
647
                var result = confirm(MSG_CONFIRM_RENEW);
648
                if(!result){
648
                if(!result){
649
                    return false;
649
                    return false;
650
                }
650
                }
651
- 

Return to bug 23415