Update naming of email statement scheduler
(cherry picked from commit 2f3cee2fc2)
This commit is contained in:
parent
3c5fe85011
commit
8eb3433912
2 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ class ClientStatement
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
public string $template = 'client_statement';
|
||||
public string $template = 'email_statement';
|
||||
|
||||
/**
|
||||
* An array of clients hashed_ids
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue