[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/circ retur... [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Fri Nov 10 10:50:25 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	06/11/10 09:50:25

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/circ: returns.tmpl 

Log message:
	updating templates to :
	- show informations when a reserve (without transfert) is found
	- show the correct information when a transfert has to be done because of a reserve.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/circ/returns.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.4.2.3&r2=1.4.2.4

Patches:
Index: returns.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/circ/returns.tmpl,v
retrieving revision 1.4.2.3
retrieving revision 1.4.2.4
diff -u -b -r1.4.2.3 -r1.4.2.4
--- returns.tmpl	30 Oct 2006 10:01:36 -0000	1.4.2.3
+++ returns.tmpl	10 Nov 2006 09:50:25 -0000	1.4.2.4
@@ -7,6 +7,27 @@
 <!-- TMPL_IF Name="found" -->
         <h3>Reserve Found<!-- TMPL_IF Name="waiting" --> (item is already consigned) <!-- /TMPL_IF --></h3>
         <!-- TMPL_IF Name="waiting" -->
+        <table>
+        <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&bib=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="itemtitle" --></a></caption>
+        <tr><th>Patron: </th><td>
+            <ul>
+                        <li><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"><!-- TMPL_VAR Name="borcnum" --></a></li>
+            <li><!-- TMPL_VAR Name="borsurname" -->, <!-- TMPL_VAR Name="borfirstname" --> </li>
+            <li><!-- TMPL_VAR Name="borstraddress" --><br />
+            <!-- TMPL_VAR Name="borcity" -->  <!-- TMPL_VAR NAME="borzip" --></li>
+            <li><!-- TMPL_VAR Name="borphone" --></li>
+            </ul></td></tr>
+        </table><form method="post" action="returns.pl" name="mainform" id="mainform">
+            <input type="submit" value="Confirm" /><!-- TMPL_LOOP Name="inputloop" -->
+                <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
+                <input type="hidden" name="dd-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="duedate" -->" />
+                <input type="hidden" name="bn-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="bornum" -->" />
+            <!-- /TMPL_LOOP -->
+            <input type="hidden" name="barcode" value="0" />
+            </form>			
+        <!-- /TMPL_IF -->
+
+	<!-- TMPL_IF Name="diffbranch" -->
         
         <table>
         <caption><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&bib=<!-- TMPL_VAR NAME="itembiblionumber" -->"><!-- TMPL_VAR Name="itemtitle" --></a></caption>
@@ -18,7 +39,9 @@
             <!-- TMPL_VAR Name="borcity" -->  <!-- TMPL_VAR NAME="borzip" --></li>
             <li><!-- TMPL_VAR Name="borphone" --></li>
             </ul></td></tr>
-    <tr><th>Transfer to:</th><td><!-- TMPL_VAR Name="branchname" --></td></tr>
+	<!-- TMPL_IF name="transfertodo" -->
+    <tr><th>Transfer to:</th><td><!-- TMPL_VAR Name="destbranchname" --></td></tr>
+	<!-- /TMPL_IF -->
         </table><form method="post" action="returns.pl" name="mainform" id="mainform">
             <input type="submit" value="Confirm" /><!-- TMPL_LOOP Name="inputloop" -->
                 <input type="hidden" name="ri-<!-- TMPL_VAR Name="counter" -->" value="<!-- TMPL_VAR Name="barcode" -->" />
@@ -75,7 +98,11 @@
             <!-- TMPL_VAR Name="borcity" --> <!-- TMPL_VAR NAME="borzip" --></li>
             <li><!-- TMPL_VAR Name="borphone" --></li>
             </ul></td></tr>
-            <tr><th>Transfer to: </th><td><!-- TMPL_VAR Name="branchname" --></td></tr></table>
+    		<!-- TMPL_IF name="transfertodo" -->
+   		 <tr><th>Transfer to:</th><td><!-- TMPL_VAR Name="destbranchname" --></td></tr>
+		<!-- /TMPL_IF -->     
+
+	    </table>
             <form method="post" action="returns.pl" name="mainform" id="mainform">
             <input type="submit" value="Confirm" />
             <!-- TMPL_LOOP Name="inputloop" -->





More information about the Koha-cvs mailing list