[Koha-cvs] CVS: koha/bull lateissues.pl,1.1,1.1.2.1

Paul POULAIN tipaul at users.sourceforge.net
Fri Sep 23 11:27:17 CEST 2005


Update of /cvsroot/koha/koha/bull
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26263/bull

Modified Files:
      Tag: rel_2_2
	lateissues.pl 
Log Message:
showing bookseller phone, fax & mail on lateissues

Index: lateissues.pl
===================================================================
RCS file: /cvsroot/koha/koha/bull/lateissues.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** lateissues.pl	3 Dec 2004 14:34:54 -0000	1.1
--- lateissues.pl	23 Sep 2005 09:27:15 -0000	1.1.2.1
***************
*** 5,8 ****
--- 5,9 ----
  use C4::Auth;
  use C4::Bull;
+ use C4::Acquisition;
  use C4::Output;
  use C4::Interface::CGI::Output;
***************
*** 31,34 ****
--- 32,39 ----
  my @lateissues;
  @lateissues = GetLateIssues($supplierid) if $supplierid;
+ my @supplierinfo;
+ my $nothing;
+ ($nothing, at supplierinfo)=bookseller($supplierid) if $supplierid;
+ 
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "bull/lateissues.tmpl",
***************
*** 42,46 ****
  $template->param(
  	CGIsupplier => $CGIsupplier,
! 	lateissues => \@lateissues
  	);
  output_html_with_http_headers $query, $cookie, $template->output;
--- 47,54 ----
  $template->param(
  	CGIsupplier => $CGIsupplier,
! 	lateissues => \@lateissues,
! 	phone => $supplierinfo[0]->{phone},
! 	booksellerfax => $supplierinfo[0]->{booksellerfax},
! 	bookselleremail => $supplierinfo[0]->{bookselleremail},
  	);
  output_html_with_http_headers $query, $cookie, $template->output;





More information about the Koha-cvs mailing list