[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui basket.tmpl,1.15.2.1,1.15.2.2

Paul POULAIN tipaul at users.sourceforge.net
Tue Mar 8 15:03:37 CET 2005


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

Modified Files:
      Tag: rel_2_2
	basket.tmpl 
Log Message:
added a stylesheet for the printer (useful in acquisition basket printing. The doNotPrint style can be used anywhere to remove a part of the screen during printing)

Index: basket.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -C2 -r1.15.2.1 -r1.15.2.2
*** basket.tmpl	28 Feb 2005 13:44:02 -0000	1.15.2.1
--- basket.tmpl	8 Mar 2005 14:03:34 -0000	1.15.2.2
***************
*** 23,45 ****
  		<table>
  			<tr valign="top" bgcolor="#ffdf61">
! 				<th class="acquisition">Order</th>
! 				<th class="acquisition">Publisher<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode">[order]</a></th>
  				<th class="acquisition">Isbn</th>
  				<th class="acquisition">Title</th>
  				<th class="acquisition">Author</th>
  				<th class="acquisition">rrp</th>
! 				<th class="acquisition">est</th>
  				<th class="acquisition">Qty</th>
  				<th class="acquisition">Total</th>
! 				<th class="acquisition">Fund <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[order]</a></th>
! 				<!-- TMPL_IF name="closedate" -->
! 				<!-- TMPL_ELSE -->
! 					<th class="acquisition">Remove</th>
! 				<!-- /TMPL_IF -->
  
  			</tr>
  			<!-- TMPL_LOOP NAME="books_loop" -->
  				<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="color" -->">
! 					<td><!-- TMPL_VAR NAME="ordernumber" --></td>
  					<td><!-- TMPL_VAR NAME="publishercode" --></td>
  					<td><!-- TMPL_VAR NAME="isbn" --></td>
--- 23,44 ----
  		<table>
  			<tr valign="top" bgcolor="#ffdf61">
! 				<th class="acquisition doNotPrint">Order</th>
! 				<th class="acquisition">Publisher<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode" class="acquisition doNotPrint">[order]</a></th>
  				<th class="acquisition">Isbn</th>
  				<th class="acquisition">Title</th>
  				<th class="acquisition">Author</th>
  				<th class="acquisition">rrp</th>
! 				<th class="acquisition doNotPrint">est</th>
  				<th class="acquisition">Qty</th>
  				<th class="acquisition">Total</th>
! 				<th class="acquisition doNotPrint">Fund <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[order]</a></th>
! 				<!-- TMPL_UNLESS name="closedate" -->
! 					<th class="acquisition doNotPrint">Remove</th>
! 				<!-- /TMPL_UNLESS -->
  
  			</tr>
  			<!-- TMPL_LOOP NAME="books_loop" -->
  				<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="color" -->">
! 					<td class="doNotPrint"><!-- TMPL_VAR NAME="ordernumber" --></td>
  					<td><!-- TMPL_VAR NAME="publishercode" --></td>
  					<td><!-- TMPL_VAR NAME="isbn" --></td>
***************
*** 51,66 ****
  					<td><!-- TMPL_VAR NAME="author" --></td>
  					<td><!-- TMPL_VAR NAME="rrp" --></td>
! 					<td><!-- TMPL_VAR NAME="ecost" --></td>
  					<td><!-- TMPL_VAR NAME="quantity" --></td>
  					<td><!-- TMPL_VAR NAME="line_total" --></td>
! 					<td><!-- TMPL_VAR NAME="bookfundid" --></td>
! 					<!-- TMPL_IF name="closedate" -->
! 					<!-- TMPL_ELSE -->
! 						<td>
  							<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
  								<img src="/intranet-tmpl/default/images/edittrash.png" alt="Remove from basket" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
  							</a>
  						</td>
! 					<!-- /TMPL_IF -->
  				</tr>
  			<!-- /TMPL_LOOP -->
--- 50,64 ----
  					<td><!-- TMPL_VAR NAME="author" --></td>
  					<td><!-- TMPL_VAR NAME="rrp" --></td>
! 					<td class="doNotPrint"><!-- TMPL_VAR NAME="ecost" --></td>
  					<td><!-- TMPL_VAR NAME="quantity" --></td>
  					<td><!-- TMPL_VAR NAME="line_total" --></td>
! 					<td class="doNotPrint"><!-- TMPL_VAR NAME="bookfundid" --></td>
! 					<!-- TMPL_UNLESS name="closedate" -->
! 						<td class="doNotPrint">
  							<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
  								<img src="/intranet-tmpl/default/images/edittrash.png" alt="Remove from basket" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
  							</a>
  						</td>
! 					<!-- /TMPL_UNLESS -->
  				</tr>
  			<!-- /TMPL_LOOP -->
***************
*** 68,83 ****
  			<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
  			<tr>
! 				<td colspan="7" rowspan=3>
  					&nbsp;
  				</td>
! 				<th class="acquisition">SubTotal</th>
  				<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="sub_total" --></th>
  			</tr>
  			<tr>
! 				<th class="acquisition">GST</th>
  				<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="gist" --></th>
  			</tr>
  			<tr>
! 				<th class="acquisition">TOTAL</th>
  				<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="grand_total" --></th>
  			</tr>
--- 66,81 ----
  			<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
  			<tr>
! 				<td colspan="4" rowspan=3>
  					&nbsp;
  				</td>
! 				<th colspan="2" class="acquisition">SubTotal</th>
  				<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="sub_total" --></th>
  			</tr>
  			<tr>
! 				<th colspan="2" class="acquisition">GST</th>
  				<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="gist" --></th>
  			</tr>
  			<tr>
! 				<th colspan="2" class="acquisition">TOTAL</th>
  				<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="grand_total" --></th>
  			</tr>





More information about the Koha-cvs mailing list