[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi cust_bill-logo.cgi, NONE, 1.1 view_invoice.html, 1.4, 1.5

Ivan,,, ivan at wavetail.420.am
Tue Aug 8 23:34:28 PDT 2006


Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail:/tmp/cvs-serv26795/fs_selfservice/FS-SelfService/cgi

Modified Files:
	view_invoice.html 
Added Files:
	cust_bill-logo.cgi 
Log Message:
self-service interface: move from text to html invoices

Index: view_invoice.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/view_invoice.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- view_invoice.html	8 Jun 2005 09:03:06 -0000	1.4
+++ view_invoice.html	9 Aug 2006 06:34:26 -0000	1.5
@@ -4,9 +4,7 @@
 <%= include('myaccount_menu') %>
 <TD VALIGN="top">
 
-<FONT SIZE="-1"><PRE>
-<%= $invoice_text %>
-</FONT></PRE>
+<%= $invoice_html %>
 
 </TD></TR></TABLE>
 <HR>

--- NEW FILE: cust_bill-logo.cgi ---
#!/usr/bin/perl -Tw

use strict;
use CGI;
use FS::SelfService qw( invoice_logo );

$cgi = new CGI;

my($query) = $cgi->keywords;
$query =~ /^([^\.\/]*)$/ or '' =~ /^()$/;
my $templatename = $1;
invoice_logo($templatename);

print $cgi->header( '-type'    => $content_type,
                    '-expires' => 'now',
                  ).
      $logo;




More information about the freeside-commits mailing list