diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index 01e4efd532c4..00ab85d568be 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -702,11 +702,11 @@ class HtmlEngine $tax_label = ''; if (collect($this->entity->line_items)->contains('tax_id', \App\Models\Product::PRODUCT_TYPE_REVERSE_TAX)) { - $tax_label .= ctrans('texts.reverse_tax_info') . "\n"; + $tax_label .= ctrans('texts.reverse_tax_info') . "
"; } if($this->client->country_id !== (int)$this->company->settings->country_id){ - $tax_label .= ctrans('texts.tax_info') . "\n"; + $tax_label .= ctrans('texts.intracommunity_tax_info') . "
"; } return $tax_label; diff --git a/tests/Feature/ClientTest.php b/tests/Feature/ClientTest.php index 8fcef3d6c14f..0244a3e8227b 100644 --- a/tests/Feature/ClientTest.php +++ b/tests/Feature/ClientTest.php @@ -41,6 +41,8 @@ class ClientTest extends TestCase use DatabaseTransactions; use MockAccountData; + public $faker; + protected function setUp() :void { parent::setUp(); @@ -63,7 +65,6 @@ class ClientTest extends TestCase $this->makeTestData(); } - public function testClientMergeContactDrop() {