X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=58f2925d594d75dfa400068e9aab3bea8f3f4821;hb=7bdf17a005cf4c0fe8b6b6ad1ce97abaa52a4510;hp=d5d77f2a541040d0d393f27f4aeaca555963ad99;hpb=c21b6e69583bec632de7fcd340c29982c868f73d;p=freeside.git diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index d5d77f2a5..58f2925d5 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -12,16 +12,11 @@ foreach my $part_svc ( qsearch('part_svc',{}) ) { %> -<%= header("Customer View", menubar( +<%= include("/elements/header.html","Customer View", + include("/elements/menubar.html", 'Main Menu' => $p, )) %> - - <% die "No customer specified (bad URL)!" unless $cgi->keywords; @@ -35,18 +30,43 @@ print qq!Edit this customer!; %> - + + + + + + +<% if ( $cust_main->ncancelled_pkgs ) { %> + + | Cancel this customer + +<% } %> + +<% print qq! | !. 'Delete this customer' @@ -73,12 +93,12 @@ print "This customer's signup URL: ". %> -<%= &itable() %> + -
<%= include('cust_main/contacts.html', $cust_main ) %> + <%= include('cust_main/misc.html', $cust_main ) %> <% if ( $conf->config('payby-default') ne 'HIDE' ) { %>
@@ -109,13 +129,6 @@ Comments <% } %>

-<%= include('cust_main/order_pkg.html', $cust_main ) %> - -<% if ( $conf->config('payby-default') ne 'HIDE' ) { %> - <%= include('cust_main/quick-charge.html', $cust_main ) %> -
-<% } %> - <%= include('cust_main/packages.html', $cust_main ) %> <% if ( $conf->config('payby-default') ne 'HIDE' ) { %>