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/view/quotation.html | |
parent | e185be2238bfd1fb2ca6f36b80c9ad93281fe635 (diff) |
quotations, RT#16996
Diffstat (limited to 'httemplate/view/quotation.html')
-rwxr-xr-x | httemplate/view/quotation.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index 866ade2c2..461b5dfb6 100755 --- a/httemplate/view/quotation.html +++ b/httemplate/view/quotation.html @@ -24,9 +24,16 @@ XXX resending quotations </%doc> -% if ( $conf->exists('quotation_latex') ) { +% if ( $curuser->access_right('Order customer package') ) { + <& /elements/order_pkg_link.html, + 'label' => emt('Add package'), + 'actionlabel' => emt('Add package'), + map { $_ => $quotation->$_ } qw( quotationnum custnum prospectnum ) + &> +% } - <A HREF="<% $p %>view/quotation-pdf.cgi?<% $link %>"><% mt('View typeset quotation PDF') |h %></A> +% if ( $conf->exists('quotation_latex') ) { + | <A HREF="<% $p %>view/quotation-pdf.cgi?<% $link %>"><% mt('View typeset quotation PDF') |h %></A> <BR><BR> % } |