X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fquotation.html;h=a88acf82b5e3f7d2b1887aa5c14d633f049ea227;hb=3e8421688bfed701dd6d3be79c270db4af2b3e8d;hp=866ade2c27155fd150fedc6a99e030a02c560392;hpb=81978af92ecdaaefeff5156d9ab3b4f99586df1c;p=freeside.git diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index 866ade2c2..a88acf82b 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 %>

% } @@ -37,8 +44,6 @@ XXX resending quotations % } % #plaintext quotations?
<% join('', $quotation->print_text() ) %>
- - <& /elements/footer.html &> <%init>