koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha moredetail.pl,1.25,1.26


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha moredetail.pl,1.25,1.26
Date: Thu, 17 Mar 2005 13:22:36 -0800

Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3440

Modified Files:
        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.26
diff -C2 -r1.25 -r1.26
*** moredetail.pl       1 Dec 2004 21:31:55 -0000       1.25
--- moredetail.pl       17 Mar 2005 21:22:17 -0000      1.26
***************
*** 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'});




reply via email to

[Prev in Thread] Current Thread [Next in Thread]