[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha moredetail.pl,1.25,1.25.2.1
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha moredetail.pl,1.25,1.25.2.1 |
Date: |
Thu, 17 Mar 2005 13:15:30 -0800 |
Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1629
Modified Files:
Tag: rel_2_2
moredetail.pl
Log Message:
Moving some output from the script to the template and formatting currency
amount (the former requires an update to the template)
Index: moredetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/moredetail.pl,v
retrieving revision 1.25
retrieving revision 1.25.2.1
diff -C2 -r1.25 -r1.25.2.1
*** moredetail.pl 1 Dec 2004 21:31:55 -0000 1.25
--- moredetail.pl 17 Mar 2005 21:15:27 -0000 1.25.2.1
***************
*** 80,88 ****
foreach my $item (@items){
! $item->{'itemlost'}=~ s/0/No/;
! $item->{'itemlost'}=~ s/1/Yes/;
! $item->{'withdrawn'}=~ s/0/No/;
! $item->{'withdrawn'}=~ s/1/Yes/;
! $item->{'replacementprice'}+=0.00;
$item->{'datelastborrowed'}= format_date($item->{'datelastborrowed'});
$item->{'dateaccessioned'} = format_date($item->{'dateaccessioned'});
--- 80,84 ----
foreach my $item (@items){
! $item->{'replacementprice'}=sprintf("%.2f", $item->{'replacementprice'});
$item->{'datelastborrowed'}= format_date($item->{'datelastborrowed'});
$item->{'dateaccessioned'} = format_date($item->{'dateaccessioned'});
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha moredetail.pl,1.25,1.25.2.1,
Owen Leonard <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en/images add.gif,1.1,1.2 back.gif,1.1,1.2 card.gif,1.1,1.2
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/catalogue moredetail.tmpl,1.14,1.14.2.1
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en/images add.gif,1.1,1.2 back.gif,1.1,1.2 card.gif,1.1,1.2
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/catalogue moredetail.tmpl,1.14,1.14.2.1
- Index(es):