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

(-)a/C4/Circulation.pm (-2 / +2 lines)
Lines 1034-1047 sub CanBookBeIssued { Link Here
1034
                $alerts{HIGHHOLDS} = {
1034
                $alerts{HIGHHOLDS} = {
1035
                    num_holds  => $check->{outstanding},
1035
                    num_holds  => $check->{outstanding},
1036
                    duration   => $check->{duration},
1036
                    duration   => $check->{duration},
1037
                    returndate => output_pref( $check->{due_date} ),
1037
                    returndate => output_pref( { dt => dt_from_string($check->{due_date}), dateformat => 'iso', timeformat => '24hr' }),
1038
                };
1038
                };
1039
            }
1039
            }
1040
            else {
1040
            else {
1041
                $needsconfirmation{HIGHHOLDS} = {
1041
                $needsconfirmation{HIGHHOLDS} = {
1042
                    num_holds  => $check->{outstanding},
1042
                    num_holds  => $check->{outstanding},
1043
                    duration   => $check->{duration},
1043
                    duration   => $check->{duration},
1044
                    returndate => output_pref( $check->{due_date} ),
1044
                    returndate => output_pref( { dt => dt_from_string($check->{due_date}), dateformat => 'iso', timeformat => '24hr' }),
1045
                };
1045
                };
1046
            }
1046
            }
1047
        }
1047
        }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-3 / +2 lines)
Lines 71-77 Link Here
71
[% END %]
71
[% END %]
72
72
73
[% IF alert.HIGHHOLDS %]
73
[% IF alert.HIGHHOLDS %]
74
    <div class="dialog message">High demand item. <b>Loan period was not shortened due to override.</b> Shortened due date would have been [% alert.HIGHHOLDS.returndate %] ([% alert.HIGHHOLDS.duration %] days).</div>
74
    <div class="dialog message">High demand item. <b>Loan period was not shortened due to override.</b> Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration %] days).</div>
75
[% END %]
75
[% END %]
76
76
77
[% IF ( nopermission ) %]
77
[% IF ( nopermission ) %]
Lines 180-186 Link Here
180
[% END %]
180
[% END %]
181
181
182
[% IF HIGHHOLDS %]
182
[% IF HIGHHOLDS %]
183
    <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li>
183
    <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?</li>
184
[% END %]
184
[% END %]
185
185
186
[% IF PREVISSUE %]
186
[% IF PREVISSUE %]
187
- 

Return to bug 21176