[Koha-cvs] CVS: koha/acqui basket.pl,1.21,1.22

Paul POULAIN tipaul at users.sourceforge.net
Fri Sep 17 14:33:02 CEST 2004


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

Modified Files:
	basket.pl 
Log Message:
1- don't loose bookseller id when closing a basket
2- add possibility to view a closed basket (but not modify it)

Index: basket.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/basket.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** basket.pl	13 Sep 2004 15:17:48 -0000	1.21
--- basket.pl	17 Sep 2004 12:32:29 -0000	1.22
***************
*** 100,108 ****
  $gist=sprintf("%.2f",$sub_total*$prefgist);
  $grand_total=$sub_total+$gist;
- 
  $template->param(basketno => $basketno,
  				creationdate => $basket->{creationdate},
  				authorisedby => $basket->{authorisedby},
  				authorisedbyname => $basket->{authorisedbyname},
  				booksellerid=> $booksellers[0]->{'id'},
  				name => $booksellers[0]->{'name'},
--- 100,108 ----
  $gist=sprintf("%.2f",$sub_total*$prefgist);
  $grand_total=$sub_total+$gist;
  $template->param(basketno => $basketno,
  				creationdate => $basket->{creationdate},
  				authorisedby => $basket->{authorisedby},
  				authorisedbyname => $basket->{authorisedbyname},
+ 				closedate => format_date($basket->{closedate}),
  				booksellerid=> $booksellers[0]->{'id'},
  				name => $booksellers[0]->{'name'},





More information about the Koha-cvs mailing list