add option to exclude configurable svc_acct svcparts from welcome emails, RT11021
[freeside.git] / FS / FS / Conf.pm
index 53a0b09..74bd368 100644 (file)
@@ -312,7 +312,7 @@ sub delete {
 
   my($name, $agentnum) = @_;
   if ( my $cv = FS::Record::qsearchs('conf', {name => $name, agentnum => $agentnum}) ) {
-    warn "[FS::Conf] DELETE $name\n";
+    warn "[FS::Conf] DELETE $name\n" if $DEBUG;
 
     my $oldAutoCommit = $FS::UID::AutoCommit;
     local $FS::UID::AutoCommit = 0;
@@ -1269,20 +1269,6 @@ and customer address. Include units.',
     'type'        => 'checkbox',
   },
 
-  { 
-    'key'         => 'phone_usage_class_summary',
-    'section'     => 'invoicing',
-    'description' => 'Summarize usage per DID by usage class and display all CDRs together regardless of usage class. Only valid when svc_phone_sections is enabled.',
-    'type'        => 'checkbox',
-  },
-
-  { 
-    'key'         => 'phone_usage_class_summary',
-    'section'     => 'invoicing',
-    'description' => 'Summarize usage per DID by usage class and display all CDRs together regardless of usage class. Only valid when svc_phone_sections is enabled.',
-    'type'        => 'checkbox',
-  },
-
   { 
     'key'         => 'svc_phone_sections',
     'section'     => 'invoicing',
@@ -1927,6 +1913,13 @@ and customer address. Include units.',
     'type'        => 'select-pkg_class',
   },
 
+  {
+    'key'         => 'signup_server-third_party_as_card',
+    'section'     => 'self-service',
+    'description' => 'Allow customer payment type to be set to CARD even when using third-party credit card billing.',
+    'type'        => 'checkbox',
+  },
+
   {
     'key'         => 'selfservice-xmlrpc',
     'section'     => 'self-service',
@@ -2055,6 +2048,14 @@ and customer address. Include units.',
     'description' => 'Template to use for welcome messages when a svc_acct record is created.',
     %msg_template_options,
   },
+  
+  {
+    'key'         => 'svc_acct_welcome_exclude',
+    'section'     => 'notification',
+    'description' => 'A list of svc_acct services for which no welcome email is to be sent.',
+    'type'        => 'select-part_svc',
+    'multiple'    => 1,
+  },
 
   {
     'key'         => 'welcome_email',
@@ -2200,10 +2201,17 @@ and customer address. Include units.',
     'type'        => 'checkbox',
   },
 
+  {
+    'key'         => 'dump-localdest',
+    'section'     => '',
+    'description' => 'Destination for local database dumps (full path)',
+    'type'        => 'text',
+  },
+
   {
     'key'         => 'dump-scpdest',
     'section'     => '',
-    'description' => 'destination for scp database dumps: user@host:/path',
+    'description' => 'Destination for scp database dumps: user@host:/path',
     'type'        => 'text',
   },
 
@@ -2560,6 +2568,13 @@ and customer address. Include units.',
                          },
   },
 
+  {
+    'key'         => 'ticket_system-requestor',
+    'section'     => '',
+    'description' => 'Email address to use as the requestor for new tickets.  If blank, the customer\'s invoicing address(es) will be used.',
+    'type'        => 'text',
+  },
+
   {
     'key'         => 'ticket_system-priority_reverse',
     'section'     => '',
@@ -3434,6 +3449,13 @@ and customer address. Include units.',
     'type'        => 'checkbox',
   },
 
+  {
+    'key'         => 'previous_balance-show_credit',
+    'section'     => 'invoicing',
+    'description' => 'Show the customer\'s credit balance on invoices when applicable.',
+    'type'        => 'checkbox',
+  },
+
   {
     'key'         => 'balance_due_below_line',
     'section'     => 'invoicing',