Moved Invoice reminders into Minion Tasks
This commit is contained in:
@@ -160,7 +160,7 @@ class Config extends Kohana_Config {
|
||||
* @return mixed|array - Email to send test emails to
|
||||
*/
|
||||
public static function testmail($template) {
|
||||
$config = Kohana::$config->load('config')->email_admin_only;
|
||||
$config = Kohana::$config->load('debug')->email_admin_only;
|
||||
|
||||
if (is_null($config) OR ! is_array($config) OR empty($config[$template]))
|
||||
return FALSE;
|
||||
|
@@ -14,9 +14,6 @@
|
||||
return array(
|
||||
'appname' => 'OS Billing', // Our application name, as shown in the title bar of pages
|
||||
'email_from' => array('noreply@graytech.net.au'=>'Graytech Hosting'),
|
||||
'email_admin_only'=> array(
|
||||
// 'adsl_traffic_notice'=>array('deon@leenooks.vpn'=>'Deon George'),
|
||||
),
|
||||
'method_security' => TRUE, // Enables Method Security. Setting to false means any method can be run without authentication
|
||||
'session_change_trigger'=>array( // Updates to tables to make when our session ID is changed
|
||||
'Cart'=>'session_id',
|
||||
|
@@ -16,6 +16,9 @@ return array
|
||||
'ajax'=>FALSE, // AJAX actions can only be run by ajax calls if set to FALSE
|
||||
'etag'=>FALSE, // Force generating ETAGS
|
||||
'checkout_notify'=>FALSE, // Test mode to test a particular checkout_notify item
|
||||
'email_admin_only'=> array( // Override emails and send them to an admin instead
|
||||
// 'task_invoice_list_overdue'=>array('deon@leenooks.net'=>'Deon George'),
|
||||
),
|
||||
'invoice'=>0, // Number of invoices to generate in a pass
|
||||
'site'=>FALSE, // Glogal site debug
|
||||
'show_errors'=>FALSE, // Show errors instead of logging in the DB.
|
||||
|
Reference in New Issue
Block a user