X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=8f39f80bfdb6a0f8d9dd2deaa1625132fb14d114;hb=2bb8b57782d966c231947bc4e82feed552a55b51;hp=8794f3074d35ee08bd18ee76525a051e4b7a6949;hpb=f7afca1829f8496509d10806439c37fcc1349135;p=freeside.git
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 8794f3074..8f39f80bf 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -35,18 +35,43 @@ print qq!Edit this customer!;
%>
-
+
+
+
+
+
+
+<% if ( $cust_main->ncancelled_pkgs ) { %>
+
+ | Cancel this customer
-print qq! | !.
- 'Cancel this customer'
- if $cust_main->ncancelled_pkgs;
+<% } %>
+
+<%
print qq! | !.
'Delete this customer'