[freeside-commits] freeside/FS/FS cust_main.pm, 1.271.2.27, 1.271.2.28 Conf.pm, 1.180.2.16, 1.180.2.17

Ivan,,, ivan at wavetail.420.am
Fri Nov 9 10:59:14 PST 2007


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv22434/FS/FS

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_main.pm Conf.pm 
Log Message:
add business-onlinepayment-email_customer flag

Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.180.2.16
retrieving revision 1.180.2.17
diff -u -d -r1.180.2.16 -r1.180.2.17
--- Conf.pm	8 Nov 2007 04:21:34 -0000	1.180.2.16
+++ Conf.pm	9 Nov 2007 18:59:12 -0000	1.180.2.17
@@ -441,6 +441,13 @@
   },
 
   {
+    'key'         => 'business-onlinepayment-email_customer',
+    'section'     => 'billing',
+    'description' => 'Controls the "email_customer" flag used by some Business::OnlinePayment processors to enable customer receipts.',
+    'type'        => 'checkbox',
+  },
+
+  {
     'key'         => 'countrydefault',
     'section'     => 'UI',
     'description' => 'Default two-letter country code (if not supplied, the default is `US\')',

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.271.2.27
retrieving revision 1.271.2.28
diff -u -d -r1.271.2.27 -r1.271.2.28
--- cust_main.pm	9 Nov 2007 17:42:11 -0000	1.271.2.27
+++ cust_main.pm	9 Nov 2007 18:59:12 -0000	1.271.2.28
@@ -2588,6 +2588,10 @@
   $content{invoice_number} = $options{'invnum'}
     if exists($options{'invnum'}) && length($options{'invnum'});
 
+  $content{email_customer} = 
+    (    $conf->exists('business-onlinepayment-email_customer')
+      || $conf->exists('business-onlinepayment-email-override') );
+      
   my $paydate = '';
   if ( $method eq 'CC' ) { 
 



More information about the freeside-commits mailing list