diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-07-04 18:49:00 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-04 18:49:00 -0700 |
commit | 8f89376bceb710bceb8d2d3b9dd7fe24e7d47cf3 (patch) | |
tree | 0bd4bc41720409ceb4dd153acfe5f442508fdb33 /httemplate/elements/order_pkg_link.html | |
parent | e185be2238bfd1fb2ca6f36b80c9ad93281fe635 (diff) |
quotations, RT#16996
Diffstat (limited to 'httemplate/elements/order_pkg_link.html')
-rw-r--r-- | httemplate/elements/order_pkg_link.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/httemplate/elements/order_pkg_link.html b/httemplate/elements/order_pkg_link.html new file mode 100644 index 000000000..d8aa8fd4e --- /dev/null +++ b/httemplate/elements/order_pkg_link.html @@ -0,0 +1,26 @@ +<& /elements/popup_link-cust_main.html, + 'action' => $p. 'misc/order_pkg.html', + 'label' => $opt{'label'} || emt('Order new package'), + 'actionlabel' => $opt{'actionlabel'} || emt('Order new package'), + 'color' => '#333399', + 'cust_main' => $opt{cust_main}, + 'prospect_main' => $opt{prospect_main}, + 'custnum' => $opt{custnum}, + 'prospectnum' => $opt{prospectnum}, + 'closetext' => emt('Close'), + 'width' => 960, #763, + 'height' => $height, + %optional, +&> +<%init> + +my(%opt) = @_; + +my %optional = + map { $_ => $opt{$_} } + grep $opt{$_}, + qw( lock_pkgpart lock_locationnum qualnum quotationnum svcpart ); + +my $height = $opt{'lock_locationnum'} ? 336 : 576; + +</%init> |