1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Minor fixes for transaction processing

This commit is contained in:
David Bomba 2023-06-24 08:05:30 +10:00
parent 37e1f484ce
commit 4999f0ef6d
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ use App\Models\Company;
use App\Services\Bank\BankMatchingService;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;

View File

@ -65,7 +65,7 @@ class EmailPayment implements ShouldQueue
public function handle()
{
if ($this->company->is_disabled) {
return true;
return;
}
if ($this->contact->email) {