summaryrefslogtreecommitdiff
path: root/httemplate/view/quotation.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-01-07 21:38:01 -0800
committerIvan Kohler <ivan@freeside.biz>2015-01-07 21:38:01 -0800
commit3e34c2485163893b390e70bf9a5f357b32e57e21 (patch)
tree5ad771f06acf43e2806625192b4bce4a7c9e7aea /httemplate/view/quotation.html
parentdd241a38832df5706cb3211107b82f4d633cd495 (diff)
place order from quotation view, RT#20688
Diffstat (limited to 'httemplate/view/quotation.html')
-rwxr-xr-xhttemplate/view/quotation.html9
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 )) %>