[Koha-cvs] koha maninvoice.pl [dev_week]

Kyle Hall kyle.m.hall at gmail.com
Tue Apr 24 15:35:46 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Kyle Hall <kylemhall>	07/04/24 13:35:46

Modified files:
	.              : maninvoice.pl 

Log message:
	Made borrower firstname, surname, cardnumber available to template.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/maninvoice.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.8.6.1&r2=1.8.6.2

Patches:
Index: maninvoice.pl
===================================================================
RCS file: /sources/koha/koha/Attic/maninvoice.pl,v
retrieving revision 1.8.6.1
retrieving revision 1.8.6.2
diff -u -b -r1.8.6.1 -r1.8.6.2
--- maninvoice.pl	23 Apr 2007 16:30:36 -0000	1.8.6.1
+++ maninvoice.pl	24 Apr 2007 13:35:46 -0000	1.8.6.2
@@ -60,7 +60,12 @@
 					flagsrequired => {borrowers => 1},
 					debug => 1,
 					});
-	$template->param(bornum => $bornum);
+	$template->param(
+	  bornum => $bornum,
+	  surname => $data->{'surname'},
+	  firstname => $data->{'firstname'},
+	  cardnumber => $data->{'cardnumber'}
+	);
 	print $input->header(
 	    -type => guesstype($template->output),
 	    -cookie => $cookie





More information about the Koha-cvs mailing list