Update naming of email statement scheduler

(cherry picked from commit 2f3cee2fc2)
This commit is contained in:
David Bomba 2023-02-17 16:02:46 +11:00
parent 3c5fe85011
commit 8eb3433912
2 changed files with 3 additions and 3 deletions

View file

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

View file

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