[Koha-cvs] koha circ/circulation.pl koha-tmpl/intranet-tmp... [rel_3_0]

LAURIN arnaud alaurin at ouestprovence.fr
Wed Dec 6 12:10:00 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	LAURIN arnaud <alaurin>	06/12/06 11:10:00

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

Log message:
	bugfixing : sanop : #75
	
	add the item information (title) if the document is issued (need_comnfirmation) template

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/circ/circulation.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.97.2.12&r2=1.97.2.13
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.6.2.15&r2=1.6.2.16

Patches:
Index: circ/circulation.pl
===================================================================
RCS file: /sources/koha/koha/circ/circulation.pl,v
retrieving revision 1.97.2.12
retrieving revision 1.97.2.13
diff -u -b -r1.97.2.12 -r1.97.2.13
--- circ/circulation.pl	5 Dec 2006 11:35:30 -0000	1.97.2.12
+++ circ/circulation.pl	6 Dec 2006 11:10:00 -0000	1.97.2.13
@@ -220,6 +220,9 @@
             $inprocess );
         my $noerror    = 1;
         my $noquestion = 1;
+#         Get the item title for more information
+	my $getmessageiteminfo  = getiteminformation( undef, $barcode );
+	
         foreach my $impossible ( keys %$error ) {
             $template->param(
                 $impossible => $$error{$impossible},
@@ -230,6 +233,7 @@
         foreach my $needsconfirmation ( keys %$question ) {
             $template->param(
                 $needsconfirmation => $$question{$needsconfirmation},
+                getTitleMessageIteminfo => $getmessageiteminfo->{'title'},
                 NEEDSCONFIRMATION  => 1
             );
             $noquestion = 0;

Index: koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl,v
retrieving revision 1.6.2.15
retrieving revision 1.6.2.16
diff -u -b -r1.6.2.15 -r1.6.2.16
--- koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl	5 Dec 2006 14:54:52 -0000	1.6.2.15
+++ koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl	6 Dec 2006 11:10:00 -0000	1.6.2.16
@@ -146,7 +146,7 @@
   <!-- /TMPL_IF -->
 
   <!-- TMPL_IF NAME="ISSUED_TO_ANOTHER" -->
-    <li>Item issued to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Return and issue?</li>
+    <li>Item ( <!-- TMPL_VAR NAME="getTitleMessageIteminfo" --> ) issued to <!-- TMPL_VAR NAME="ISSUED_TO_ANOTHER" -->. Return and issue?</li>
   <!-- /TMPL_IF -->
 
   <!-- TMPL_IF NAME="TOO_MANY" -->





More information about the Koha-cvs mailing list