[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha moredetail.pl,1.24,1.25
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha moredetail.pl,1.24,1.25 |
Date: |
Wed, 01 Dec 2004 13:31:57 -0800 |
Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3759
Modified Files:
moredetail.pl
Log Message:
Fix for Bug 689, more templating
Index: moredetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/moredetail.pl,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** moredetail.pl 13 Jul 2004 12:55:01 -0000 1.24
--- moredetail.pl 1 Dec 2004 21:31:55 -0000 1.25
***************
*** 85,92 ****
$item->{'withdrawn'}=~ s/1/Yes/;
$item->{'replacementprice'}+=0.00;
! my $year=substr($item->{'timestamp0'},0,4);
! my $mon=substr($item->{'timestamp0'},4,2);
! my $day=substr($item->{'timestamp0'},6,2);
! $item->{'timestamp0'}="$day/$mon/$year";
$item->{'dateaccessioned'} = format_date($item->{'dateaccessioned'});
$item->{'datelastseen'} = format_date($item->{'datelastseen'});
--- 85,89 ----
$item->{'withdrawn'}=~ s/1/Yes/;
$item->{'replacementprice'}+=0.00;
! $item->{'datelastborrowed'}= format_date($item->{'datelastborrowed'});
$item->{'dateaccessioned'} = format_date($item->{'dateaccessioned'});
$item->{'datelastseen'} = format_date($item->{'datelastseen'});
***************
*** 94,102 ****
$item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'};
- # FIXME untranslatable strings
if ($item->{'date_due'} eq 'Available'){
! $item->{'issue'}="<b>Available</b><br>";
} else {
! $item->{'issue'}="<b>Currently on issue to:</b> <a
href=/cgi-bin/koha/moremember.pl?bornum=$item->{'borrower'}>$item->{'card'}</a><br>";
}
}
--- 91,101 ----
$item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'};
if ($item->{'date_due'} eq 'Available'){
! $item->{'issue'}= 0;
} else {
! $item->{'date_due'} = format_date($item->{'date_due'});
! $item->{'issue'}= 1;
! $item->{'borrowernumber'} = $item->{'borrower'};
! $item->{'cardnumber'} = $item->{'card'};
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha moredetail.pl,1.24,1.25,
Owen Leonard <=