mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
06edbe3f06
commit
89d68c5d46
@ -11,11 +11,11 @@
|
|||||||
|
|
||||||
namespace App\Services\Scheduler;
|
namespace App\Services\Scheduler;
|
||||||
|
|
||||||
|
use App\DataMapper\Schedule\EmailStatement;
|
||||||
use App\Models\Client;
|
use App\Models\Client;
|
||||||
use App\Models\Scheduler;
|
use App\Models\Scheduler;
|
||||||
use App\Utils\Traits\MakesHash;
|
|
||||||
use App\DataMapper\Schedule\EmailStatement;
|
|
||||||
use App\Utils\Traits\MakesDates;
|
use App\Utils\Traits\MakesDates;
|
||||||
|
use App\Utils\Traits\MakesHash;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
|
|
||||||
class EmailStatementService
|
class EmailStatementService
|
||||||
@ -38,7 +38,7 @@ class EmailStatementService
|
|||||||
//Email only the selected clients
|
//Email only the selected clients
|
||||||
if (count($this->scheduler->parameters['clients']) >= 1) {
|
if (count($this->scheduler->parameters['clients']) >= 1) {
|
||||||
$query->whereIn('id', $this->transformKeys($this->scheduler->parameters['clients']));
|
$query->whereIn('id', $this->transformKeys($this->scheduler->parameters['clients']));
|
||||||
}else {
|
} else {
|
||||||
$query->where('balance', '>', 0);
|
$query->where('balance', '>', 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user