[Koha-cvs] CVS: koha/acqui acqui-home.pl,1.3,1.3.2.1

Paul POULAIN tipaul at users.sourceforge.net
Tue Jun 7 15:17:41 CEST 2005


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

Modified Files:
      Tag: rel_2_2
	acqui-home.pl 
Log Message:
warn the user if no budget is defined (& prevent creating an order, as it would be buggy)

Index: acqui-home.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/acqui-home.pl,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -r1.3 -r1.3.2.1
*** acqui-home.pl	13 Jul 2004 12:53:00 -0000	1.3
--- acqui-home.pl	7 Jun 2005 13:17:38 -0000	1.3.2.1
***************
*** 64,68 ****
  						totspent => sprintf("%.2f",$totspent),
  						totcomtd => sprintf("%.2f",$totcomtd),
! 						totavail => sprintf("%.2f",$totavail));
  
  output_html_with_http_headers $query, $cookie, $template->output;
--- 64,69 ----
  						totspent => sprintf("%.2f",$totspent),
  						totcomtd => sprintf("%.2f",$totcomtd),
! 						totavail => sprintf("%.2f",$totavail),
! 						nobudget => $#results==-1?1:0);
  
  output_html_with_http_headers $query, $cookie, $template->output;





More information about the Koha-cvs mailing list