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

(-)a/C4/Items.pm (+1 lines)
Lines 1214-1219 sub GetItemsInfo { Link Here
1214
            $data->{cardnumber}     = $idata->{cardnumber};
1214
            $data->{cardnumber}     = $idata->{cardnumber};
1215
            $data->{surname}     = $idata->{surname};
1215
            $data->{surname}     = $idata->{surname};
1216
            $data->{firstname}     = $idata->{firstname};
1216
            $data->{firstname}     = $idata->{firstname};
1217
            $data->{lastreneweddate} = $idata->{lastreneweddate};
1217
            $datedue                = $idata->{'date_due'};
1218
            $datedue                = $idata->{'date_due'};
1218
        if (C4::Context->preference("IndependantBranches")){
1219
        if (C4::Context->preference("IndependantBranches")){
1219
        my $userenv = C4::Context->userenv;
1220
        my $userenv = C4::Context->userenv;
(-)a/catalogue/moredetail.pl (-3 / +1 lines)
Lines 128-136 foreach my $item (@items){ Link Here
128
    $item->{'collection'}              = $ccodes->{ $item->{ccode} } if ($ccodes);
128
    $item->{'collection'}              = $ccodes->{ $item->{ccode} } if ($ccodes);
129
    $item->{'itype'}                   = $itemtypes->{ $item->{'itype'} }->{'description'};
129
    $item->{'itype'}                   = $itemtypes->{ $item->{'itype'} }->{'description'};
130
    $item->{'replacementprice'}        = sprintf( "%.2f", $item->{'replacementprice'} );
130
    $item->{'replacementprice'}        = sprintf( "%.2f", $item->{'replacementprice'} );
131
    $item->{'datelastborrowed'}        = format_date( $item->{'datelastborrowed'} );
131
    $item->{$_}                        = format_date( $item->{$_} ) foreach qw/datelastborrowed dateaccessioned datelastseen lastreneweddate/;
132
    $item->{'dateaccessioned'}         = format_date( $item->{'dateaccessioned'} );
133
    $item->{'datelastseen'}            = format_date( $item->{'datelastseen'} );
134
    $item->{'copyvol'}                 = $item->{'copynumber'};
132
    $item->{'copyvol'}                 = $item->{'copynumber'};
135
133
136
134
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-2 / +1 lines)
Lines 67-73 Link Here
67
67
68
            <ol class="bibliodetails">
68
            <ol class="bibliodetails">
69
            <li><span class="label">Current Location:</span> [% ITEM_DAT.holdingbranchname %]&nbsp;</li>
69
            <li><span class="label">Current Location:</span> [% ITEM_DAT.holdingbranchname %]&nbsp;</li>
70
            <li><span class="label">Checkout Status:</span> [% IF ( ITEM_DAT.issue ) %]Checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.cardnumber %]</a>, Due back on [% ITEM_DAT.datedue %][% ELSE %]Not Checked out [% END %]</li>
70
            <li><span class="label">Checkout Status:</span> [% IF ( ITEM_DAT.issue ) %]Checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% ITEM_DAT.borrowernumber %]">[% ITEM_DAT.cardnumber %]</a>[% IF ( ITEM_DAT.lastreneweddate ) %], Last renewed [% ITEM_DAT.lastreneweddate %][% END %], Due back on [% ITEM_DAT.datedue %][% ELSE %]Not Checked out [% END %]</li>
71
            <li><span class="label">Current Renewals:</span> [% ITEM_DAT.renewals %]&nbsp;</li>
71
            <li><span class="label">Current Renewals:</span> [% ITEM_DAT.renewals %]&nbsp;</li>
72
            [% IF ( ITEM_DAT.itemlostloop ) %]
72
            [% IF ( ITEM_DAT.itemlostloop ) %]
73
                <li><span class="label">Lost Status:</span>
73
                <li><span class="label">Lost Status:</span>
74
- 

Return to bug 3385