[freeside-commits] branch FREESIDE_3_BRANCH updated. 0d633515080e8c701d0ac43359c562f617e7529f

Ivan ivan at 420.am
Wed Jan 7 21:38:04 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  0d633515080e8c701d0ac43359c562f617e7529f (commit)
      from  4386d67b6b49d2915be38ccfefae474e95849611 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0d633515080e8c701d0ac43359c562f617e7529f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 7 21:38:03 2015 -0800

    place order from quotation view, RT#20688

diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html
index ae9c4aa..4c91325 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 )) %>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/quotation.html |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list