mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for codacy (#3150)
This commit is contained in:
parent
104e8728c2
commit
2895e6df2d
@ -31,15 +31,13 @@ trait InvoiceEmailBuilder
|
||||
public function getEmailData($reminder_template = null) :array
|
||||
{
|
||||
//client
|
||||
$client = $this->client;
|
||||
//$client = $this->client;
|
||||
|
||||
if(!$reminder_template)
|
||||
$reminder_template = $this->calculateTemplate();
|
||||
|
||||
//Need to determine which email template we are producing
|
||||
$email_data = $this->generateTemplateData($reminder_template);
|
||||
|
||||
return $email_data;
|
||||
return $this->generateTemplateData($reminder_template);
|
||||
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ class InvoiceEmailTest extends TestCase
|
||||
$message_array['title'] = &$message_array['subject'];
|
||||
$message_array['footer'] = 'The Footer';
|
||||
|
||||
$template_style = $this->client->getSetting('email_style');
|
||||
// $template_style = $this->client->getSetting('email_style');
|
||||
|
||||
$template_style = 'light';
|
||||
//iterate through the senders list and send from here
|
||||
|
Loading…
x
Reference in New Issue
Block a user