[Koha-cvs] CVS: koha/acqui finishreceive.pl,1.16,1.17

Paul POULAIN tipaul at users.sourceforge.net
Tue Sep 14 14:35:57 CEST 2004


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

Modified Files:
	finishreceive.pl 
Log Message:
fix to calculate item cost (the / was buggy : everywhere else there is the price is the unit price)

Index: finishreceive.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/finishreceive.pl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** finishreceive.pl	12 Aug 2004 14:35:22 -0000	1.16
--- finishreceive.pl	14 Sep 2004 12:35:55 -0000	1.17
***************
*** 45,51 ****
  my $branch=$input->param('branch');
  
! if ($quantrec != 0){
! 	$cost /= $quantrec;
! }
  
  if ($quantity != 0) {
--- 45,51 ----
  my $branch=$input->param('branch');
  
! # if ($quantrec != 0){
! # 	$cost /= $quantrec;
! # }
  
  if ($quantity != 0) {





More information about the Koha-cvs mailing list