-<% include('/elements/header.html', {
- 'title' => $title,
- 'head' => $head,
- 'nobr' => 1,
- })
-%>
-<BR>
-% my @part_tag = $cust_main->part_tag;
-% if ( $conf->config('cust_tag-location') eq 'top' && @part_tag ) {
-<TABLE STYLE="margin-bottom:8px" CELLSPACING=2>
-% foreach my $part_tag ( @part_tag ) {
-<TR>
- <TD>
- <FONT SIZE="+1"
- <% length($part_tag->tagcolor)
- ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"'
- : ''
- %>><% $part_tag->tagname.': '. $part_tag->tagdesc |h %></FONT>
- </TD>
-</TR>
-% }
-</TABLE>
-% }
-
-<% include('/elements/menubar.html',
- { 'newstyle' => 1,
- 'selected' => $viewname{$view},
- 'url_base' => $cgi->url. "?custnum=$custnum;show=",
- },
- %views,
- )
-%>
-<DIV CLASS="fstabcontainer">
-
-<% include('/elements/init_overlib.html') %>
-
-<SCRIPT TYPE="text/javascript">
-function areyousure(href, message) {
- if (confirm(message) == true)
- window.location.href = href;
-}
-</SCRIPT>
-
-% if ( $view eq 'basics' || $view eq 'jumbo' ) {
-
-% if ( $curuser->access_right('Edit customer') ) {
- <A HREF="<% $p %>edit/cust_main.cgi?<% $custnum %>">Edit this customer</A> |
-% }
-
-% if ( $curuser->access_right('Cancel customer')
-% && $cust_main->ncancelled_pkgs
-% ) {
-
- <% include( '/elements/popup_link-cust_main.html',
- { 'action' => $p. 'misc/cancel_cust.html',
- 'label' => 'Cancel this customer',
- 'actionlabel' => 'Confirm Cancellation',
- 'color' => '#ff0000',
- 'cust_main' => $cust_main,
- 'width' => 616, #make room for reasons
- 'height' => 366,
- }
- )
- %> |
-
-% }
-
-% if ( $curuser->access_right('Merge customer') ) {
-
- <% include( '/elements/popup_link-cust_main.html',
- { 'action' => $p. 'misc/merge_cust.html',
- 'label' => 'Merge this customer',
- 'actionlabel' => 'Merge customer',
- #'color' => '#ff0000',
- 'cust_main' => $cust_main,
- 'width' => 480,
- 'height' => 192,
- }
- )
- %> |
-
-% }