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

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +2 lines)
Lines 7746-7754 if(CheckVersion($DBversion)) { Link Here
7746
$DBversion = "3.13.00.XXX";
7746
$DBversion = "3.13.00.XXX";
7747
if ( CheckVersion($DBversion) ) {
7747
if ( CheckVersion($DBversion) ) {
7748
   $dbh->do("ALTER TABLE items ADD itemlost_on DATETIME NULL AFTER itemlost");
7748
   $dbh->do("ALTER TABLE items ADD itemlost_on DATETIME NULL AFTER itemlost");
7749
   $dbh->do("ALTER TABLE items ADD withdrawn_on DATETIME NULL AFTER wthdrawn");
7749
   $dbh->do("ALTER TABLE items ADD withdrawn_on DATETIME NULL AFTER withdrawn");
7750
   $dbh->do("ALTER TABLE deleteditems ADD itemlost_on DATETIME NULL AFTER itemlost");
7750
   $dbh->do("ALTER TABLE deleteditems ADD itemlost_on DATETIME NULL AFTER itemlost");
7751
   $dbh->do("ALTER TABLE deleteditems ADD withdrawn_on DATETIME NULL AFTER wthdrawn");
7751
   $dbh->do("ALTER TABLE deleteditems ADD withdrawn_on DATETIME NULL AFTER withdrawn");
7752
   print "Upgrade to $DBversion done (Bug 9673 - Track when items are marked as lost or withdrawn)\n";
7752
   print "Upgrade to $DBversion done (Bug 9673 - Track when items are marked as lost or withdrawn)\n";
7753
   SetVersion ($DBversion);
7753
   SetVersion ($DBversion);
7754
}
7754
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-2 / +3 lines)
Lines 127-133 Link Here
127
                         
127
                         
128
                    [% END %]
128
                    [% END %]
129
                </li>
129
                </li>
130
                [% IF ITEM_DAT.itemlost_on %]<li><span class="label">Lost on:</span>[% ITEM_DAT.itemlost_on | $KohaDates %] &nbsp;</li>[% END %]
130
                [% IF ITEM_DAT.itemlost != "" && ITEM_DAT.itemlost_on %]
131
                    <li><span class="label">Lost on:</span>[% ITEM_DAT.itemlost_on | $KohaDates %] &nbsp;</li>
132
                [% END %]
131
            [% END %]
133
            [% END %]
132
            [% IF ( ITEM_DAT.itemdamagedloop ) %]
134
            [% IF ( ITEM_DAT.itemdamagedloop ) %]
133
            <li><span class="label">Damaged status:</span>
135
            <li><span class="label">Damaged status:</span>
134
- 

Return to bug 9673