increase package popup width
[freeside.git] / httemplate / view / cust_main / packages.html
index f424425..7cb869f 100755 (executable)
 %        && $conf->config('payby-default') ne 'HIDE'
 %      ) {
 %
-
+  <% $s++ ? ' | ' : '' %>
   <% popup_link('edit/quick-charge.html?custnum='. $cust_main->custnum, 'One-time charge', 'One-time charge', '#333399', 545) %>
-  <BR>
 % } 
 % if ( $curuser->access_right('Bulk change customer packages') ) { 
-
+  <% $s++ ? ' | ' : '' %>
   <A HREF="<% $p %>edit/cust_pkg.cgi?<% $cust_main->custnum %>">Bulk order and cancel packages</A> (preserves services)
 % } 
 
@@ -527,7 +526,13 @@ sub pkg_datestr {
   $strip;
 }
 
-sub pkg_change_link    { pkg_link('misc/change_pkg',    'Change&nbsp;package', @_ ); }
+sub pkg_change_link    { pkg_popup_link('misc/change_pkg.cgi?dummy=value',
+                                          'Change&nbsp;package',
+                                          'Change',
+                                          '',
+                                          @_
+                                       );
+                       }
 
 sub pkg_suspend_link   { pkg_popup_link( 'misc/cancel_pkg.html?method=suspend',
                                          'Suspend&nbsp;now',
@@ -598,7 +603,7 @@ sub pkg_popup_link {
   my($action, $label, $actionlabel, $color, $cust_pkg) = @_;
   $action .= '&pkgnum='. $cust_pkg->pkgnum;
   $actionlabel .= ' package '. $cust_pkg->pkgnum;
-  popup_link($action, $label, $actionlabel, $color);
+  popup_link($action, $label, $actionlabel, $color, 768);
 }
 
 sub svc_popup_link {