% && $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)
% }
$strip;
}
-sub pkg_change_link { pkg_link('misc/change_pkg', 'Change package', @_ ); }
+sub pkg_change_link { pkg_popup_link('misc/change_pkg.cgi?dummy=value',
+ 'Change package',
+ 'Change',
+ '',
+ @_
+ );
+ }
sub pkg_suspend_link { pkg_popup_link( 'misc/cancel_pkg.html?method=suspend',
'Suspend now',
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 {