mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01: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": "",
|
"revoke_invite": "",
|
||||||
"right": "",
|
"right": "",
|
||||||
"role": "",
|
"role": "",
|
||||||
"sales_tax": "",
|
|
||||||
"saml_auth_error": "",
|
"saml_auth_error": "",
|
||||||
"saml_identity_exists_error": "",
|
"saml_identity_exists_error": "",
|
||||||
"saml_invalid_signature_error": "",
|
"saml_invalid_signature_error": "",
|
||||||
|
|||||||
+1
-1
@@ -92,7 +92,7 @@ function CostSummary({ subscriptionChange, totalLicenses }: CostSummaryProps) {
|
|||||||
data-testid="tax"
|
data-testid="tax"
|
||||||
>
|
>
|
||||||
<span className="me-auto">
|
<span className="me-auto">
|
||||||
{t('sales_tax')} ·{' '}
|
{t('vat')} ·{' '}
|
||||||
{Math.round(
|
{Math.round(
|
||||||
subscriptionChange.nextInvoice.tax.rate * 100 * factor
|
subscriptionChange.nextInvoice.tax.rate * 100 * factor
|
||||||
) / factor}
|
) / factor}
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@ function UpgradeSummary({ subscriptionChange }: UpgradeSummaryProps) {
|
|||||||
</ListGroup.Item>
|
</ListGroup.Item>
|
||||||
)}
|
)}
|
||||||
<ListGroup.Item className="bg-transparent border-0 px-0 gap-3 card-description-secondary">
|
<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">
|
<span data-testid="tax">
|
||||||
{formatCurrency(
|
{formatCurrency(
|
||||||
subscriptionChange.immediateCharge.tax,
|
subscriptionChange.immediateCharge.tax,
|
||||||
|
|||||||
@@ -1819,7 +1819,6 @@
|
|||||||
"ro": "Romanian",
|
"ro": "Romanian",
|
||||||
"role": "Role",
|
"role": "Role",
|
||||||
"ru": "Russian",
|
"ru": "Russian",
|
||||||
"sales_tax": "Sales tax",
|
|
||||||
"saml": "SAML",
|
"saml": "SAML",
|
||||||
"saml_auth_error": "Sorry, your identity provider responded with an error. Please contact your administrator for more information.",
|
"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.",
|
"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.findByTestId('tax').within(() => {
|
||||||
cy.findByText(
|
cy.findByText(
|
||||||
new RegExp(
|
new RegExp(`VAT · ${this.body.nextInvoice.tax.rate * 100}%`, 'i')
|
||||||
`sales tax · ${this.body.nextInvoice.tax.rate * 100}%`,
|
|
||||||
'i'
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
cy.findByTestId('price').should(
|
cy.findByTestId('price').should(
|
||||||
'have.text',
|
'have.text',
|
||||||
|
|||||||
Reference in New Issue
Block a user