diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-01-07 21:38:03 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-01-07 21:38:03 -0800 |
commit | 0d633515080e8c701d0ac43359c562f617e7529f (patch) | |
tree | 68825c65083f3c91993bf17af4177e8b785f3392 | |
parent | 4386d67b6b49d2915be38ccfefae474e95849611 (diff) |
place order from quotation view, RT#20688
-rwxr-xr-x | httemplate/view/quotation.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index ae9c4aa8c..4c913257e 100755 --- a/httemplate/view/quotation.html +++ b/httemplate/view/quotation.html @@ -41,8 +41,13 @@ XXX resending quotations % if ( $conf->exists('quotation_latex') ) { | <A HREF="<% $p %>view/quotation-pdf.cgi?<% $link %>"><% mt('View typeset quotation PDF') |h %></A> - <BR><BR> -% } +% } + +% if ( $curuser->access_right('New customer') && $quotation->quotation_pkg ) { + | <A HREF="<%$p%>edit/process/quotation_convert.html?quotationnum=<% $quotation->quotationnum %>">Place order</A> +% } + +<BR><BR> % if ( $conf->exists('quotation_html') ) { <% join('', $quotation->print_html( preref_callback=>$preref_callback )) %> |