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 72-78 Link Here
72
[% END %]
72
[% END %]
73
73
74
[% IF alert.HIGHHOLDS %]
74
[% IF alert.HIGHHOLDS %]
75
    <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 | html %] ([% alert.HIGHHOLDS.duration | html %] days).</div>
75
    <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  | html %] days).</div>
76
[% END %]
76
[% END %]
77
77
78
[% IF ( nopermission ) %]
78
[% IF ( nopermission ) %]
Lines 181-187 Link Here
181
[% END %]
181
[% END %]
182
182
183
[% IF HIGHHOLDS %]
183
[% IF HIGHHOLDS %]
184
    <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | html %]). Check out anyway?</li>
184
    <li>High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?</li>
185
[% END %]
185
[% END %]
186
186
187
[% IF PREVISSUE %]
187
[% IF PREVISSUE %]
188
- 

Return to bug 21176