- <% include("/elements/header.html","View $label: $value", menubar(
- "Cancel this (unaudited) $label" =>
+ # defaults to "edit/$table.cgi?", will have svcnum appended
+ 'edit_url' =>
+
+ #at the very bottom (well, as low as you can go from here)
+ 'html_foot' => '',
+
+ )
+
+</%doc>
+<SCRIPT>
+function areyousure(href) {
+% my $delmsg = emt("Permanently delete this [_1]?", $label);
+ if (confirm(<% $delmsg |js_string %>) == true)
+ window.location.href = href;
+}
+</SCRIPT>
+
+% if ( $custnum ) {
+
+ <& /elements/header.html,emt("View [_1]: [_2]",$label,$value) &>
+
+ <& /elements/small_custview.html, $custnum, '', 1,
+ "${p}view/cust_main.cgi" &>
+ <BR>
+
+% } else {
+
+ <& /elements/header.html,emt("View [_1]: [_2]",$label,$value), menubar(
+ emt("Cancel this (unaudited) [_1]",$label) =>