X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=287658f70b66ef61f8e7e06215ee7e8bc0d54ba0;hb=259777e4667fc8a45496ba2805d1f7e01c75ac7b;hp=7a6e425bee64f9ae9d75c768a65ade5a65468a02;hpb=f7e13fe2f0a39fd277f2990e076b662f00c2b088;p=freeside.git
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 7a6e425be..287658f70 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -38,6 +38,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',
+ ) %>
+ }
+}
@@ -60,8 +68,8 @@ function areyousure(href, message) {
'actionlabel' => emt('Confirm Suspension'),
'color' => '#ff9900',
'cust_main' => $cust_main,
- 'width' => 616, #make room for reasons
- 'height' => 366,
+ 'width' => 768, #make room for reasons
+ 'height' => 450,
}
&> |
% }
@@ -91,7 +99,7 @@ function areyousure(href, message) {
'color' => '#ff0000',
'cust_main' => $cust_main,
'width' => 616, #make room for reasons
- 'height' => 366,
+ 'height' => 410,
}
&> |
% }
@@ -245,7 +253,7 @@ function areyousure(href, message) {
% ###
% if ( $view eq 'jumbo' && $curuser->access_right('Generate quotation') ) {
- <% mt('Quotations') |h %>
+ <% mt('Quotations') |h %>
% }
% if ( $view eq 'quotations' || $view eq 'jumbo' ) {