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

Owen Leonard oleonard at users.sourceforge.net
Thu Mar 17 22:15:30 CET 2005


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'});





More information about the Koha-cvs mailing list