[freeside-commits] branch master updated. 202e6945393b47f5aa75a65682ab0d14e04fe7eb

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


The branch, master has been updated
       via  202e6945393b47f5aa75a65682ab0d14e04fe7eb (commit)
      from  d2acdd4d53071f9e0f9718e14532cb009cda1a85 (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 202e6945393b47f5aa75a65682ab0d14e04fe7eb
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Sep 16 06:42:07 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