X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=3cd7d2bb3c9e4dd49cd3514dfc4cf248a5e0e60b;hb=2ffdb485e5534df3d89bcc12d4d02d485e9b28f5;hp=95cb5da7cbf3e4ad21b331f8130187c2c2af6c48;hpb=5376c66e2e5c1849763777f9d44ad013405c1d9e;p=freeside.git diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 95cb5da7c..3cd7d2bb3 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -35,6 +35,14 @@ function areyousure(href, message) { if (confirm(message) == true) window.location.href = href; } +function areyousure_popup(message, action, actionlabel) { + if (confirm(message) == true) { +<% include('/elements/popup_link_onclick.html', + 'js_action' => 'action', + 'js_actionlabel' => 'actionlabel', + ) %> + } +}
@@ -46,9 +54,6 @@ function areyousure(href, message) { % if ( $view eq 'basics' ) { % my $br = 0; -% if ( $curuser->access_right('Order customer package') && $conf->exists('cust_main-enable_order_package') ) { - | <& /elements/order_pkg_link.html, 'cust_main'=>$cust_main &> -% } % if ( $conf->config('cust_main-external_links') ) { <% $br++ ? ' | ' : '' %>