Skip to content

Commit ef8d160

Browse files
committed
Merge remote-tracking branch 'origin/ACP2E-544' into L3_Arrows_PR_20220314
2 parents 3d465fb + 94f58f9 commit ef8d160

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

app/code/Magento/Tax/etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<backend_model>Magento\Tax\Model\Config\Notification</backend_model>
119119
</field>
120120
<field id="grandtotal" translate="label" type="select" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
121-
<label>Include Tax In Order Total</label>
121+
<label>Additionally Show Order Total Without Tax</label>
122122
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
123123
</field>
124124
<field id="full_summary" translate="label" type="select" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
@@ -148,7 +148,7 @@
148148
<backend_model>Magento\Tax\Model\Config\Notification</backend_model>
149149
</field>
150150
<field id="grandtotal" translate="label" type="select" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
151-
<label>Include Tax In Order Total</label>
151+
<label>Additionally Show Order Total Without Tax</label>
152152
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
153153
</field>
154154
<field id="full_summary" translate="label" type="select" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">

app/code/Magento/Tax/i18n/en_US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Taxes,Taxes
163163
"Display Prices","Display Prices"
164164
"Display Subtotal","Display Subtotal"
165165
"Display Shipping Amount","Display Shipping Amount"
166-
"Include Tax In Order Total","Include Tax In Order Total"
166+
"Additionally Show Order Total Without Tax","Additionally Show Order Total Without Tax"
167167
"Display Full Tax Summary","Display Full Tax Summary"
168168
"Display Zero Tax Subtotal","Display Zero Tax Subtotal"
169169
"Orders, Invoices, Credit Memos Display Settings","Orders, Invoices, Credit Memos Display Settings"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
declare(strict_types=1);
7+
8+
namespace Magento\Tax\Controller\Adminhtml\System;
9+
10+
/**
11+
* @magentoAppArea adminhtml
12+
*/
13+
class ConfigTest extends \Magento\TestFramework\TestCase\AbstractBackendController
14+
{
15+
/**
16+
* Check Additionally Show Order Total Without Tax Label
17+
*/
18+
public function testAdditionallyShowOrderTotalWithoutTax()
19+
{
20+
$this->dispatch('backend/admin/system_config/edit/section/tax/');
21+
$body = $this->getResponse()->getBody();
22+
$this->assertStringContainsString('id="tax_cart_display_grandtotal"', $body);
23+
$this->assertStringContainsString('id="tax_sales_display_grandtotal"', $body);
24+
$this->assertStringContainsString('Additionally Show Order Total Without Tax', $body);
25+
}
26+
}

0 commit comments

Comments
 (0)