[freeside-commits] branch FREESIDE_3_BRANCH updated. 32834b6e8a92ca3ec0bbf58075956a7d0edca79a

Ivan ivan at 420.am
Tue Sep 16 06:42:11 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  32834b6e8a92ca3ec0bbf58075956a7d0edca79a (commit)
      from  ae732741cb031ddb6c99156a8804cac3e7500f76 (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 32834b6e8a92ca3ec0bbf58075956a7d0edca79a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Sep 16 06:42:10 2014 -0700

    convert prospects to customers via quotations, RT#20688

diff --git a/httemplate/edit/process/quotation_convert.html b/httemplate/edit/process/quotation_convert.html
new file mode 100644
index 0000000..b387d06
--- /dev/null
+++ b/httemplate/edit/process/quotation_convert.html
@@ -0,0 +1,17 @@
+<% $cgi->redirect(popurl(3). 'view/cust_main.cgi?'. $cust_main->custnum ) %>
+<%init>
+
+#my $curuser = $FS::CurrentUser::CurrentUser;
+#die "access denied" unless $curuser->access_right('Edit customer');
+
+#my $conf = new FS::Conf;
+
+my $quotation = qsearchs( 'quotation' => {
+  quotationnum => scalar( $cgi->param('quotationnum') ),
+} ) or die 'unknown quotationnum';
+
+my $cust_main = $quotation->convert_cust_main;
+errorpage($cust_main) unless ref($cust_main);# eq 'FS::cust_main';
+
+</%init>
+

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

Summary of changes:
 httemplate/edit/process/quotation_convert.html |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 httemplate/edit/process/quotation_convert.html




More information about the freeside-commits mailing list