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

(-)a/C4/Members.pm (+2 lines)
Lines 1199-1204 sub GetPendingIssues { Link Here
1199
        if ($_->{issuedate}) {
1199
        if ($_->{issuedate}) {
1200
            $_->{issuedate} = dt_from_string($_->{issuedate}, 'sql');
1200
            $_->{issuedate} = dt_from_string($_->{issuedate}, 'sql');
1201
        }
1201
        }
1202
        $_->{date_due_sql} = $_->{date_due};
1203
        # FIXME no need to have this value
1202
        $_->{date_due} or next;
1204
        $_->{date_due} or next;
1203
        $_->{date_due} = dt_from_string($_->{date_due}, 'sql');
1205
        $_->{date_due} = dt_from_string($_->{date_due}, 'sql');
1204
        if ( DateTime->compare($_->{date_due}, $today) == -1 ) {
1206
        if ( DateTime->compare($_->{date_due}, $today) == -1 ) {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +2 lines)
Lines 191-204 Link Here
191
                                                    <td class="date_due overdue">
191
                                                    <td class="date_due overdue">
192
                                                        <span title="[% ISSUE.date_due %]">
192
                                                        <span title="[% ISSUE.date_due %]">
193
                                                            <span class="tdlabel">Date due:</span>
193
                                                            <span class="tdlabel">Date due:</span>
194
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
194
                                                            [% ISSUE.date_due_sql | $KohaDates as_due_date => 1 %]
195
                                                        </span>
195
                                                        </span>
196
                                                    </td>
196
                                                    </td>
197
                                                [% ELSE %]
197
                                                [% ELSE %]
198
                                                    <td class="date_due">
198
                                                    <td class="date_due">
199
                                                        <span title="[% ISSUE.date_due %]">
199
                                                        <span title="[% ISSUE.date_due %]">
200
                                                            <span class="tdlabel">Date due:</span>
200
                                                            <span class="tdlabel">Date due:</span>
201
                                                            [% ISSUE.date_due | $KohaDates as_due_date => 1 %]
201
                                                            [% ISSUE.date_due_sql | $KohaDates as_due_date => 1 %]
202
                                                        </span>
202
                                                        </span>
203
                                                    </td>
203
                                                    </td>
204
                                                [% END %]
204
                                                [% END %]
205
- 

Return to bug 14016