mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #23599 from overleaf/ii-flexible-group-licensing-vat
[web] Change "Sales tax" to "VAT" GitOrigin-RevId: 549c6cea7bcb52d08d3b0967cf5fa446da901379
This commit is contained in:
@@ -1365,7 +1365,6 @@
|
||||
"revoke_invite": "",
|
||||
"right": "",
|
||||
"role": "",
|
||||
"sales_tax": "",
|
||||
"saml_auth_error": "",
|
||||
"saml_identity_exists_error": "",
|
||||
"saml_invalid_signature_error": "",
|
||||
|
||||
@@ -92,7 +92,7 @@ function CostSummary({ subscriptionChange, totalLicenses }: CostSummaryProps) {
|
||||
data-testid="tax"
|
||||
>
|
||||
<span className="me-auto">
|
||||
{t('sales_tax')} ·{' '}
|
||||
{t('vat')} ·{' '}
|
||||
{Math.round(
|
||||
subscriptionChange.nextInvoice.tax.rate * 100 * factor
|
||||
) / factor}
|
||||
|
||||
@@ -59,7 +59,7 @@ function UpgradeSummary({ subscriptionChange }: UpgradeSummaryProps) {
|
||||
</ListGroup.Item>
|
||||
)}
|
||||
<ListGroup.Item className="bg-transparent border-0 px-0 gap-3 card-description-secondary">
|
||||
<span className="me-auto">{t('sales_tax')}</span>
|
||||
<span className="me-auto">{t('vat')}</span>
|
||||
<span data-testid="tax">
|
||||
{formatCurrency(
|
||||
subscriptionChange.immediateCharge.tax,
|
||||
|
||||
@@ -1819,7 +1819,6 @@
|
||||
"ro": "Romanian",
|
||||
"role": "Role",
|
||||
"ru": "Russian",
|
||||
"sales_tax": "Sales tax",
|
||||
"saml": "SAML",
|
||||
"saml_auth_error": "Sorry, your identity provider responded with an error. Please contact your administrator for more information.",
|
||||
"saml_authentication_required_error": "Other login methods have been disabled by your group administrator. Please use your group SSO login.",
|
||||
|
||||
@@ -269,10 +269,7 @@ describe('<AddSeats />', function () {
|
||||
|
||||
cy.findByTestId('tax').within(() => {
|
||||
cy.findByText(
|
||||
new RegExp(
|
||||
`sales tax · ${this.body.nextInvoice.tax.rate * 100}%`,
|
||||
'i'
|
||||
)
|
||||
new RegExp(`VAT · ${this.body.nextInvoice.tax.rate * 100}%`, 'i')
|
||||
)
|
||||
cy.findByTestId('price').should(
|
||||
'have.text',
|
||||
|
||||
Reference in New Issue
Block a user