mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'v5-develop' into v5-stable
This commit is contained in:
commit
1292094bb2
@ -271,7 +271,7 @@ class BaseRule implements RuleInterface
|
|||||||
public function isTaxableRegion(): bool
|
public function isTaxableRegion(): bool
|
||||||
{
|
{
|
||||||
return $this->client->company->tax_data->regions->{$this->client_region}->tax_all_subregions ||
|
return $this->client->company->tax_data->regions->{$this->client_region}->tax_all_subregions ||
|
||||||
(property_exists($this->client->company->tax_data->regions->{$this->client_region}->subregions, $this->client_subregion) && $this->client->company->tax_data->regions->{$this->client_region}->subregions->{$this->client_subregion}->apply_tax);
|
(property_exists($this->client->company->tax_data->regions->{$this->client_region}->subregions, $this->client_subregion) && ($this->client->company->tax_data->regions->{$this->client_region}->subregions->{$this->client_subregion}->apply_tax ?? false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function defaultForeign(): self
|
public function defaultForeign(): self
|
||||||
|
@ -19,7 +19,7 @@ return new class extends Migration
|
|||||||
$table->text('smtp_username')->nullable();
|
$table->text('smtp_username')->nullable();
|
||||||
$table->text('smtp_password')->nullable();
|
$table->text('smtp_password')->nullable();
|
||||||
$table->string('smtp_local_domain')->nullable();
|
$table->string('smtp_local_domain')->nullable();
|
||||||
$table->boolean('smtp_verify_peer')->default(0);
|
$table->boolean('smtp_verify_peer')->default(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user