[freeside-commits] freeside/eg export_template.pm,1.7,1.8

Jeff Finucane,420,, jeff at wavetail.420.am
Wed Mar 12 09:24:36 PDT 2008


Update of /home/cvs/cvsroot/freeside/eg
In directory wavetail.420.am:/tmp/cvs-serv2819/eg

Modified Files:
	export_template.pm 
Log Message:
allow exports to add links to customer view (#1407)

Index: export_template.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/eg/export_template.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- export_template.pm	7 Sep 2005 09:37:26 -0000	1.7
+++ export_template.pm	12 Mar 2008 16:24:34 -0000	1.8
@@ -56,7 +56,7 @@
   ref($err_or_queue) ? '' : $err_or_queue;
 }
 
-#these two are optional
+#these three are optional
 # fallback for svc_acct will change and restore password
 sub _export_suspend {
   my( $self, $svc_something ) = (shift, shift);
@@ -72,6 +72,13 @@
   ref($err_or_queue) ? '' : $err_or_queue;
 }
 
+sub export_links {
+  my($self, $svc_something, $arrayref) = (shift, shift, shift);
+  #push @$arrayref, qq!<A HREF="http://example.com/~!. $svc_something->username.
+  #                 qq!">!. $svc_something->username. qq!</A>!;
+  '';
+}
+
 ###
 
 #a good idea to queue anything that could fail or take any time



More information about the freeside-commits mailing list