[freeside-commits] branch master updated. 3e34c2485163893b390e70bf9a5f357b32e57e21

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


The branch, master has been updated
       via  3e34c2485163893b390e70bf9a5f357b32e57e21 (commit)
      from  dd241a38832df5706cb3211107b82f4d633cd495 (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 3e34c2485163893b390e70bf9a5f357b32e57e21
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 7 21:38:01 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