[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui acqui-home.tmpl,1.14,1.14.2.1

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


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

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

Index: acqui-home.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui/acqui-home.tmpl,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -r1.14 -r1.14.2.1
*** acqui-home.tmpl	19 Oct 2004 12:24:57 -0000	1.14
--- acqui-home.tmpl	7 Jun 2005 13:17:38 -0000	1.14.2.1
***************
*** 5,8 ****
--- 5,11 ----
  <div id="bloc25">
  	<h2 class="acquisition">Start, receive, modify order</h2>
+ 	<!-- TMPL_IF name="nobudget" -->
+ 		<p class="problem">You must define a budget in parameters</p>
+ 	<!-- TMPL_ELSE -->
  		<form action="/cgi-bin/koha/acqui/order.pl" method="post">
  			Supplier name : <input type="text"  size="25"   name="supplier">
***************
*** 10,13 ****
--- 13,17 ----
  		</form>
  	<p>or <a href="histsearch.pl" class="button acquisition">Search order history</a></p>
+ 	<!-- /TMPL_IF -->
  </div>
  
***************
*** 38,43 ****
  <!-- showbudget-->
  <div id="bloc25">
! 	<form action="/cgi-bin/koha/search.pl">
! 		<h2 class="acquisition">budgets and bookfunds</h2>
  		<table class="noborder">
  			<tr>
--- 42,49 ----
  <!-- showbudget-->
  <div id="bloc25">
! 	<h2 class="acquisition">budgets and bookfunds</h2>
! 	<!-- TMPL_IF name="nobudget" -->
! 		<p class="problem">You must define a budget in parameters</p>
! 	<!-- TMPL_ELSE -->
  		<table class="noborder">
  			<tr>
***************
*** 68,72 ****
  		Use your reload button to get the most recent figures. Committed figures are approximate only, as exchange rates will affect the amount actually paid.
  		</p>
! 	</form>
  </div>
  
--- 74,78 ----
  		Use your reload button to get the most recent figures. Committed figures are approximate only, as exchange rates will affect the amount actually paid.
  		</p>
! 	<!-- /TMPL_IF -->
  </div>
  





More information about the Koha-cvs mailing list