X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Forder_pkg_link.html;h=2e8b1dac192b836d8453f59b5bc731f3c74ae3a6;hb=8e5fab2148c7dc492b9fffe271c3dcf8df55b01f;hp=0c53f2a593b64bb3d71a409aed724cb4e3c232c1;hpb=8a0204b4a129a3c26dcca18ba401b2de26d22d2b;p=freeside.git diff --git a/httemplate/view/cust_main/order_pkg_link.html b/httemplate/view/cust_main/order_pkg_link.html index 0c53f2a59..2e8b1dac1 100644 --- a/httemplate/view/cust_main/order_pkg_link.html +++ b/httemplate/view/cust_main/order_pkg_link.html @@ -1,16 +1,22 @@ <% include( '/elements/popup_link-cust_main.html', 'action' => $p. 'misc/order_pkg.html', - 'label' => 'Order new package', + 'label' => $opt{'label'} || 'Order new package', 'actionlabel' => 'Order new package', 'color' => '#333399', 'cust_main' => $cust_main, 'closetext' => 'Close', 'width' => 763, - 'height' => 476, + 'height' => 538, + %optional, ) %> <%init> -my($cust_main) = @_; +my($cust_main, %opt) = @_; + +my %optional = (); +$optional{'pkgpart'} = $opt{'pkgpart'} if $opt{'pkgpart'}; +$optional{'locationnum'} = $opt{'locationnum'} if $opt{'locationnum'}; +$optional{'svcpart'} = $opt{'svcpart'} if $opt{'svcpart'};