2e8b1dac192b836d8453f59b5bc731f3c74ae3a6
[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'      => 538,
10               %optional,
11           )
12 %>
13 <%init>
14
15 my($cust_main, %opt) = @_;
16
17 my %optional = ();
18 $optional{'pkgpart'} = $opt{'pkgpart'} if $opt{'pkgpart'};
19 $optional{'locationnum'} = $opt{'locationnum'} if $opt{'locationnum'};
20 $optional{'svcpart'} = $opt{'svcpart'} if $opt{'svcpart'};
21
22 </%init>