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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt (-1 / +3 lines)
Lines 1-3 Link Here
1
[% USE KohaDates %]
2
1
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] Catalog › Your checkout history
3
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] Catalog › Your checkout history
2
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
3
<style type="text/css">ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a  { padding:0.6em 1em; }</style>
5
<style type="text/css">ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a  { padding:0.6em 1em; }</style>
Lines 82-88 You have never borrowed anything from this library. Link Here
82
                    </span></td>
84
                    </span></td>
83
<td>[% UNLESS ( noItemTypeImages ) %][% IF ( READING_RECOR.imageurl ) %]<img src="[% READING_RECOR.imageurl %]" alt="" />[% END %][% END %] [% READING_RECOR.description %]</td>
85
<td>[% UNLESS ( noItemTypeImages ) %][% IF ( READING_RECOR.imageurl ) %]<img src="[% READING_RECOR.imageurl %]" alt="" />[% END %][% END %] [% READING_RECOR.description %]</td>
84
<td>[% READING_RECOR.itemcallnumber %]</td>
86
<td>[% READING_RECOR.itemcallnumber %]</td>
85
<td>[% IF ( READING_RECOR.returndate ) %][% READING_RECOR.returndate %][% ELSE %]<em>(Checked out)</em>[% END %]</td>
87
<td>[% IF ( READING_RECOR.returndate ) %][% READING_RECOR.returndate | $KohaDates %][% ELSE %]<em>(Checked out)</em>[% END %]</td>
86
</tr>
88
</tr>
87
89
88
[% END %]
90
[% END %]
(-)a/opac/opac-detail.pl (-2 lines)
Lines 494-501 for my $itm (@items) { Link Here
494
        # I can't actually find any case in which this is defined. --amoore 2008-12-09
494
        # I can't actually find any case in which this is defined. --amoore 2008-12-09
495
        $itm->{ $itm->{'publictype'} } = 1;
495
        $itm->{ $itm->{'publictype'} } = 1;
496
    }
496
    }
497
    $itm->{datedue}      = format_sqlduedatetime($itm->{datedue});
498
    $itm->{datelastseen} = format_date($itm->{datelastseen});
499
497
500
    # get collection code description, too
498
    # get collection code description, too
501
    if ( my $ccode = $itm->{'ccode'} ) {
499
    if ( my $ccode = $itm->{'ccode'} ) {
(-)a/opac/opac-readingrecord.pl (-2 / +2 lines)
Lines 89-96 foreach my $issue (@{$issues} ) { Link Here
89
    $line{title}           = $issue->{'title'};
89
    $line{title}           = $issue->{'title'};
90
    $line{author}          = $issue->{'author'};
90
    $line{author}          = $issue->{'author'};
91
    $line{itemcallnumber}  = $issue->{'itemcallnumber'};
91
    $line{itemcallnumber}  = $issue->{'itemcallnumber'};
92
    $line{date_due}        = format_sqlduedatetime( $issue->{date_due} );
92
    $line{date_due}        = $issue->{'date_due'};
93
    $line{returndate}      = format_sqldatetime( $issue->{returndate} );
93
    $line{returndate}      = $issue->{'returndate'};
94
    $line{volumeddesc}     = $issue->{'volumeddesc'};
94
    $line{volumeddesc}     = $issue->{'volumeddesc'};
95
    $issue->{'itemtype'}   = C4::Context->preference('item-level_itypes') ? $issue->{'itype'} : $issue->{'itemtype'};
95
    $issue->{'itemtype'}   = C4::Context->preference('item-level_itypes') ? $issue->{'itype'} : $issue->{'itemtype'};
96
    if($issue->{'itemtype'}) {
96
    if($issue->{'itemtype'}) {
(-)a/opac/opac-user.pl (-2 lines)
Lines 197-203 if ($issues){ Link Here
197
			$issue->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} );
197
			$issue->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} );
198
			$issue->{'description'} = $itemtypes->{$itemtype}->{'description'};
198
			$issue->{'description'} = $itemtypes->{$itemtype}->{'description'};
199
		}
199
		}
200
		$issue->{date_due} = output_pref_due($issue->{date_due});
201
		push @issuedat, $issue;
200
		push @issuedat, $issue;
202
		$count++;
201
		$count++;
203
		
202
		
204
- 

Return to bug 7743