[freeside-commits] freeside/FS/FS cust_main.pm, 1.321, 1.322 Conf.pm, 1.212, 1.213

Ivan,,, ivan at wavetail.420.am
Fri Nov 9 11:20:12 PST 2007


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

Modified Files:
	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.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- Conf.pm	8 Nov 2007 04:21:29 -0000	1.212
+++ Conf.pm	9 Nov 2007 19:20:10 -0000	1.213
@@ -615,6 +615,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.321
retrieving revision 1.322
diff -u -d -r1.321 -r1.322
--- cust_main.pm	9 Nov 2007 00:46:17 -0000	1.321
+++ cust_main.pm	9 Nov 2007 19:20:10 -0000	1.322
@@ -3026,6 +3026,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