X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fquotation.html;fp=httemplate%2Fview%2Fquotation.html;h=461b5dfb6e2d73d4fb4440266eadc4fca376b714;hp=866ade2c27155fd150fedc6a99e030a02c560392;hb=8f89376bceb710bceb8d2d3b9dd7fe24e7d47cf3;hpb=e185be2238bfd1fb2ca6f36b80c9ad93281fe635 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 -% 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 ) + &> +% } - <% mt('View typeset quotation PDF') |h %> +% if ( $conf->exists('quotation_latex') ) { + | <% mt('View typeset quotation PDF') |h %>

% }