Update naming of email statement scheduler

This commit is contained in:
David Bomba 2023-02-17 16:02:46 +11:00
parent d4943703c8
commit 2f3cee2fc2
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ class ClientStatement
* *
* @var string * @var string
*/ */
public string $template = 'client_statement'; public string $template = 'email_statement';
/** /**
* An array of clients hashed_ids * An array of clients hashed_ids

View File

@ -42,7 +42,7 @@ class SchedulerService
$this->{$this->scheduler->template}(); $this->{$this->scheduler->template}();
} }
private function client_statement() private function email_statement()
{ {
$query = Client::query() $query = Client::query()
->where('company_id', $this->scheduler->company_id) ->where('company_id', $this->scheduler->company_id)