option to keep an email address but not email it invoices, RT#17676
[freeside.git] / httemplate / view / cust_main / order_pkg_link.html
index ba731ae..7bc5eef 100644 (file)
@@ -1,15 +1,14 @@
-<% include( '/elements/popup_link-cust_main.html',
-              'action'      => $p. 'misc/order_pkg.html',
-              'label'       => $opt{'label'} || 'Order&nbsp;new&nbsp;package',
-              'actionlabel' => 'Order new package',
-              'color'       => '#333399',
-              'cust_main'   => $cust_main,
-              'closetext'   => 'Close',
-              'width'       => 763,
-              'height'      => $height,
-             %optional,
-          )
-%>
+<& /elements/popup_link-cust_main.html,
+          'action'      => $p. 'misc/order_pkg.html',
+          'label'       => $opt{'label'} || emt('Order new package'),
+          'actionlabel' => emt('Order new package'),
+          'color'       => '#333399',
+          'cust_main'   => $cust_main,
+          'closetext'   => emt('Close'),
+          'width'       => 960, #763,
+          'height'      => $height,
+          %optional,
+&>
 <%init>
 
 my($cust_main, %opt) = @_;
@@ -18,6 +17,6 @@ my %optional = map { $_ => $opt{$_} }
                  grep $opt{$_},
                    qw( lock_pkgpart lock_locationnum qualnum svcpart );
 
-my $height = $opt{'lock_locationnum'} ? 296 : 538;
+my $height = $opt{'lock_locationnum'} ? 336 : 576;
 
 </%init>