- <SCRIPT>
- function areyousure(href) {
- if (confirm("Permanently delete this <% $label %>?") == true)
- window.location.href = href;
- }
- </SCRIPT>
+</%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, mt("View [_1]: [_2]",$label,$value) &>
+
+ <& /elements/small_custview.html, $custnum, '', 1,
+ "${p}view/cust_main.cgi" &>
+ <BR>
+
+% } else {