X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_forward.cgi;h=15b5ae56fb704d03d61b5db3e4d228ec8a936748;hb=8ef00c68688492b2afa3dde8d3d467f89f238c40;hp=0847a5e65758262650ea3e66ae4189051700ff5f;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/view/svc_forward.cgi b/httemplate/view/svc_forward.cgi index 0847a5e65..15b5ae56f 100755 --- a/httemplate/view/svc_forward.cgi +++ b/httemplate/view/svc_forward.cgi @@ -1,12 +1,26 @@ -<% include('/elements/header.html', 'Mail Forward View', menubar( - ( ( $pkgnum || $custnum ) - ? ( "View this customer (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum", - ) - : ( "Cancel this (unaudited) mail forward" => - "${p}misc/cancel-unaudited.cgi?$svcnum" ) - ) -)) -%> +% if ( $custnum ) { + + <% include("/elements/header.html","View mail forward") %> + <% include( '/elements/small_custview.html', $custnum, '', 1, + "${p}view/cust_main.cgi") %> +
+ +% } else { + + <% include("/elements/header.html",'View mail forward', menubar( + "Cancel this (unaudited) mail forward" => + "javascript:areyousure('${p}misc/cancel-unaudited.cgi?$svcnum')", + )) + %> + + + +% } Edit this information @@ -36,6 +50,9 @@
+ +<% include('elements/svc_export_settings.html', $svc_forward) %> + <% joblisting({'svcnum'=>$svcnum}, 1) %> <% include('/elements/footer.html') %>