Fixes for codacy (#3150)
This commit is contained in:
parent
104e8728c2
commit
2895e6df2d
2 changed files with 3 additions and 5 deletions
|
|
@ -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…
Add table
Reference in a new issue