1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Minor fixes for PDF generation

This commit is contained in:
David Bomba 2022-08-04 12:40:14 +10:00
parent 95d53ada66
commit 24b37e2789
2 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,8 @@ class BlackListRule implements Rule
'candassociates.com', 'candassociates.com',
'vusra.com', 'vusra.com',
'fourthgenet.com', 'fourthgenet.com',
'arxxwalls.com' 'arxxwalls.com',
'superhostforumla.com'
]; ];
/** /**

View File

@ -56,7 +56,9 @@ class UpdateCustomer implements ShouldQueue
public function handle() public function handle()
{ {
if($this->company->id !== config('ninja.ninja_default_company_id'))
return;
MultiDB::findAndSetDbByCompanyKey($this->company_key); MultiDB::findAndSetDbByCompanyKey($this->company_key);
$company = Company::where('company_key', $this->company_key)->first(); $company = Company::where('company_key', $this->company_key)->first();