allow exports to add links to customer view (#1407)
[freeside.git] / eg / export_template.pm
index 2830ce3..22eb36a 100644 (file)
@@ -56,7 +56,7 @@ sub _export_delete {
   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 @@ sub _export_unsuspend {
   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