finish existing customer dsl order, RT#7111
[freeside.git] / httemplate / view / cust_main / order_pkg_link.html
1 <% include( '/elements/popup_link-cust_main.html',
2               'action'      => $p. 'misc/order_pkg.html',
3               'label'       => $opt{'label'} || 'Order&nbsp;new&nbsp;package',
4               'actionlabel' => 'Order new package',
5               'color'       => '#333399',
6               'cust_main'   => $cust_main,
7               'closetext'   => 'Close',
8               'width'       => 763,
9               'height'      => $height,
10               %optional,
11           )
12 %>
13 <%init>
14
15 my($cust_main, %opt) = @_;
16
17 my %optional = map { $_ => $opt{$_} }
18                  grep $opt{$_},
19                    qw( lock_pkgpart lock_locationnum qualnum svcpart );
20
21 my $height = $opt{'lock_locationnum'} ? 296 : 538;
22
23 </%init>