diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
deleted file mode 100644
index a01885a6..00000000
--- a/.github/CODEOWNERS
+++ /dev/null
@@ -1,3 +0,0 @@
-docs/ @vtex-apps/technical-writers
-messages/ @vtex-apps/localization
-* @vtex-apps/us-1st-party-apps
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index cddd619c..00000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce the behavior:
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index a09db44f..00000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
----
-
-**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
-
-**Additional context**
-Add any other context or screenshots about the feature request here.
diff --git a/.github/ISSUE_TEMPLATE/questions-and-help.md b/.github/ISSUE_TEMPLATE/questions-and-help.md
deleted file mode 100644
index 7881b506..00000000
--- a/.github/ISSUE_TEMPLATE/questions-and-help.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-name: Question
-about: Ask a question you had while building a store
-labels: question
----
-
-**What are you trying to accomplish? Please describe.**
-A clear and concise description of what is your question and what you're trying to accomplish in the end is.
-
-**What have you tried so far?**
-A clear and concise description of what you tried to do already.
-
-**Additional info**
-Add extra content here (code samples, screenshots,...)
-
-| Account | Workspace |
-| -------------- | ---------------- |
-| `your account` | `your workspace` |
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644
index 1a4cb0ae..00000000
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ /dev/null
@@ -1,27 +0,0 @@
-#### What problem is this solving?
-
-
-
-#### How to test it?
-
-
-
-[Workspace](Link goes here!)
-
-#### Screenshots or example usage:
-
-
-
-#### Describe alternatives you've considered, if any.
-
-
-
-#### Related to / Depends on
-
-
-
-#### How does this PR make you feel? [:link:](http://giphy.com/)
-
-
-
-![](put .gif link here - can be found under "advanced" on giphy)
diff --git a/docs/README.md b/docs/README.md
index a3a0ac62..0416d694 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,4 +1,4 @@
-= Use this project, [contribute](https://github.com/vtex-apps/b2b-organizations) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).
+=� Use this project, [contribute](https://github.com/vtex-apps/b2b-organizations) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).
# B2B Organizations
@@ -307,7 +307,7 @@ This will lead you to the **Cost Center Details** page, where you can:
The optional **Business Document** field may be used to store a Tax ID, VAT ID, CNPJ, or similar business identifier. If a Business Document is present in a user's cost center, it will be applied as the `corporateDocument` in the user's profile and therefore attached to any orders placed by the user.
-> The shipping addresses assigned to a cost center will be available to that cost center's users at checkout if you install [B2B Checkout Settings](https://developers.vtex.com/vtex-developer-docs/docs/vtex-b2b-checkout-settings). No other addresses will be available. Therefore, each cost center must have at least one shipping address.
+> � The shipping addresses assigned to a cost center will be available to that cost center's users at checkout if you install [B2B Checkout Settings](https://developers.vtex.com/vtex-developer-docs/docs/vtex-b2b-checkout-settings). No other addresses will be available. Therefore, each cost center must have at least one shipping address.
To edit or delete an existing address, click next to it and select **Edit** or **Delete**.
@@ -454,9 +454,14 @@ A B2B user who is not already part of an organization can request the creation o
- **First Name:** first name of the Organization Admin user.
- **Last Name:** last name of the Organization Admin user.
- **Email Address:** email address of the Organization Admin user.
+ - **CPF:** CPF of the Organization Admin user.
+ - **Phone:** Phone of the Organization Admin user.
- **Default Cost Center:** section where you must provide information about the first cost center associated with the organization.
- **Cost Center Name:** name of the cost center.
- - **Business Document:** optional field for a business document such as a Tax ID, CNPJ, etc.
+ - **Business Document:** field for a business document such as a Tax ID, CNPJ, etc.
+ - **Occupation Area:** field for a occupation area.
+ - **ICMS:** field for a ICMS.
+ - **IE:** field for a IE.
- **Country:** country where the cost center is located.
- **ZIP:** postal code of the cost center address.
- **Address Line 1:** primary address information, including street number and street name where the cost center is located.
@@ -502,7 +507,7 @@ To add a new cost center, they should go to **My Account > My Organization**, wh
In addition, **Organization Admins** can enable specific payment terms for a cost center, by using the toggle button to activate or deactivate the payment terms assigned to the organization, as shown below.
-> This section will only be available on the **My Organization** page if [payment terms](#payment-terms) have previously been assigned to the organization by the VTEX Admin users.
+> � This section will only be available on the **My Organization** page if [payment terms](#payment-terms) have previously been assigned to the organization by the VTEX Admin users.
![19-payment-terms-cost-center](https://user-images.githubusercontent.com/77292838/159766775-dd0a17bd-8418-401b-a377-7d4c9ed0cf11.png)
diff --git a/manifest.json b/manifest.json
index b8728b5c..e4b430a0 100644
--- a/manifest.json
+++ b/manifest.json
@@ -9,7 +9,7 @@
"postreleasy": "vtex publish"
},
"dependencies": {
- "vtex.b2b-organizations-graphql": "0.x",
+ "hermespardini.b2b-organizations-graphql": "0.x",
"vtex.catalog-graphql": "1.x",
"vtex.admin-graphql": "2.x",
"vtex.store-graphql": "2.x",
@@ -27,8 +27,7 @@
"admin": "0.x",
"messages": "1.x",
"docs": "0.x",
- "store": "0.x",
- "vtex.storefront-permissions": "1.x"
+ "store": "0.x"
},
"$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema"
}
diff --git a/messages/context.json b/messages/context.json
index b2096682..168c0709 100644
--- a/messages/context.json
+++ b/messages/context.json
@@ -164,6 +164,8 @@
"store/b2b-organizations.request-new-organization.first-name.label": "store/b2b-organizations.request-new-organization.first-name.label",
"store/b2b-organizations.request-new-organization.last-name.label": "store/b2b-organizations.request-new-organization.last-name.label",
"store/b2b-organizations.request-new-organization.email.label": "store/b2b-organizations.request-new-organization.email.label",
+ "store/b2b-organizations.request-new-organization.cpf.label": "store/b2b-organizations.request-new-organization.cpf.label",
+ "store/b2b-organizations.request-new-organization.telephone.label": "store/b2b-organizations.request-new-organization.telephone.label",
"store/b2b-organizations.request-new-organization.default-cost-center.title": "store/b2b-organizations.request-new-organization.default-cost-center.title",
"store/b2b-organizations.request-new-organization.default-cost-center-name.label": "store/b2b-organizations.request-new-organization.default-cost-center-name.label",
"store/b2b-organizations.request-new-organization.submit-button.label": "store/b2b-organizations.request-new-organization.submit-button.label",
@@ -275,5 +277,31 @@
"store/b2b-organizations.user-widget.impersonating": "store/b2b-organizations.user-widget.impersonating",
"store/b2b-organizations.request-new-organization.submit-button.create-new-request": "store/b2b-organizations.request-new-organization.submit-button.create-new-request",
"store/b2b-organizations.stop-impersonation": "store/b2b-organizations.stop-impersonation",
- "store/b2b-organizations.stop-impersonation-error": "store/b2b-organizations.stop-impersonation-error"
+ "store/b2b-organizations.stop-impersonation-error": "store/b2b-organizations.stop-impersonation-error",
+ "store/b2b-organizations.request-new-organization.newsletter.label": "store/b2b-organizations.request-new-organization.newsletter.label",
+ "store/b2b-organizations.request-new-organization.proof-attachment-description": "store/b2b-organizations.request-new-organization.proof-attachment-description",
+ "store/b2b-organizations.request-new-organization.proof-attachment": "store/b2b-organizations.request-new-organization.proof-attachment",
+ "store/b2b-organizations.request-new-organization.accept-terms-and-conditions": "store/b2b-organizations.request-new-organization.accept-terms-and-conditions",
+ "store/b2b-organizations.request-new-organization.privacyPolicies.label": "store/b2b-organizations.request-new-organization.privacyPolicies.label",
+ "store/b2b-organizations.request-new-organization.user-data":"store/b2b-organizations.request-new-organization.user-data",
+ "store/b2b-organizations.request-new-organization.form-container-subtitle":"store/b2b-organizations.request-new-organization.form-container-subtitle",
+ "store/b2b-organizations.request-new-organization.organization-data":"store/b2b-organizations.request-new-organization.organization-data",
+ "store/b2b-organizations.request-new-organization.organization-data-description":"store/b2b-organizations.request-new-organization.organization-data-description",
+ "store/b2b-organizations.request-new-organization.cnpj.label":"store/b2b-organizations.request-new-organization.cnpj.label",
+ "store/b2b-organizations.request-new-organization.free":"store/b2b-organizations.request-new-organization.free",
+ "store/b2b-organizations.request-new-organization.yes":"store/b2b-organizations.request-new-organization.yes",
+ "store/b2b-organizations.request-new-organization.no":"store/b2b-organizations.request-new-organization.no",
+ "store/b2b-organizations.request-new-organization.occupationArea":"store/b2b-organizations.request-new-organization.occupationArea",
+ "store/b2b-organizations.request-new-organization.occupationAreaDescription":"store/b2b-organizations.request-new-organization.occupationAreaDescription",
+ "store/b2b-organizations.request-new-organization.landline.label":"store/b2b-organizations.request-new-organization.landline.label",
+ "store/b2b-organizations.request-new-organization.register-billing-address":"store/b2b-organizations.request-new-organization.register-billing-address",
+ "store/b2b-organizations.request-new-organization.register-billing-address-description":"store/b2b-organizations.request-new-organization.register-billing-address-description",
+ "store/b2b-organizations.request-new-organization.form-title":"store/b2b-organizations.request-new-organization.form-title",
+ "store/b2b-organizations.request-new-organization.form-subtitle":"store/b2b-organizations.request-new-organization.form-subtitle",
+ "store/b2b-organizations.request-new-organization.form-title-description":"store/b2b-organizations.request-new-organization.form-title-description",
+ "store/b2b-organizations.request-new-organization.attach-file.label":"store/b2b-organizations.request-new-organization.attach-file.label",
+ "store/b2b-organizations.request-new-organization.attach-file.acceptedFormats":"store/b2b-organizations.request-new-organization.attach-file.acceptedFormats",
+ "store/b2b-organizations.request-new-organization.required-fields-panel.title":"store/b2b-organizations.request-new-organization.required-fields-panel.title",
+ "store/b2b-organizations.request-new-organization.state-registration-initials": "store/b2b-organizations.request-new-organization.state-registration-initials",
+ "store/b2b-organizations.request-new-organization.required-fields-panel.user-data": "store/b2b-organizations.request-new-organization.required-fields-panel.user-data"
}
diff --git a/messages/en.json b/messages/en.json
index 0645b5de..f4be417f 100644
--- a/messages/en.json
+++ b/messages/en.json
@@ -89,7 +89,7 @@
"admin/b2b-organizations.organization-details.button.remove-user-confirm": "Yes, remove user",
"admin/b2b-organizations.organization-details.button.new": "New",
"admin/b2b-organizations.organization-details.button.add": "Add",
- "admin/b2b-organizations.organization-details.costCenters": "Cost Centers",
+ "admin/b2b-organizations.organization-details.costCenters": "Unidades de Negócio / Filiais",
"admin/b2b-organizations.organization-details.status.active": "Active",
"admin/b2b-organizations.organization-details.status.on-hold": "On Hold",
"admin/b2b-organizations.organization-details.status.inactive": "Inactive",
@@ -147,7 +147,7 @@
"admin/b2b-organizations.user-details.placeholder-costCenter": "Select a cost center",
"admin/b2b-organizations.user-details.role": "Role",
"admin/b2b-organizations.user-details.placeholder-role": "Select a role",
- "store/b2b-organizations.my-account-link": "My Organization",
+ "store/b2b-organizations.my-account-link": "Company registration",
"store/b2b-organizations.back": "Back",
"store/b2b-organizations.selected-rows": "Selected rows: {qty}",
"store/b2b-organizations.showRows": "Show rows",
@@ -157,13 +157,11 @@
"store/b2b-organizations.autocomplete-searching": "Search organization",
"store/b2b-organizations.not-authenticated": "You must be logged in to access this content.",
"store/b2b-organizations.request-new-organization.title": "Request New Organization",
- "store/b2b-organizations.request-new-organization.organization-name.label": "Organization name",
- "store/b2b-organizations.request-new-organization.tradeName": "Trade name",
- "store/b2b-organizations.request-new-organization.tradeName.helpText": "Provide the organization's trade name, which will be applied in checkout, if any. (Optional)",
- "store/b2b-organizations.request-new-organization.b2b-customer-admin.title": "User that will become the Organization Admin",
- "store/b2b-organizations.request-new-organization.first-name.label": "First name",
- "store/b2b-organizations.request-new-organization.last-name.label": "Last name",
- "store/b2b-organizations.request-new-organization.email.label": "Email",
+ "store/b2b-organizations.request-new-organization.organization-name.label": "Organization Name",
+ "store/b2b-organizations.request-new-organization.b2b-customer-admin.title": "User to become Organization Admin",
+ "store/b2b-organizations.request-new-organization.first-name.label": "First Name",
+ "store/b2b-organizations.request-new-organization.last-name.label": "Last Name",
+ "store/b2b-organizations.request-new-organization.email.label": "Email Address",
"store/b2b-organizations.request-new-organization.default-cost-center.title": "Default Cost Center",
"store/b2b-organizations.request-new-organization.default-cost-center-name.label": "Cost center name",
"store/b2b-organizations.request-new-organization.submit-button.label": "Submit",
@@ -174,13 +172,13 @@
"store/b2b-organizations.request-new-organization.helpText": "Please fill out the following form to request the creation of a new organization.",
"store/b2b-organizations.request-new-organization.b2b-customer-admin.helpText": "The user below will be assigned as the admin of the new organization. They will be notified via email when the organization has been approved and created. Additional users may be assigned to the organization by this admin after the organization has been created.",
"store/b2b-organizations.request-new-organization.default-cost-center.helpText": "Provide a name and address for the organization's initial cost center. Additional cost centers and addresses may be added after the organization has been created.",
- "store/b2b-organizations.request-new-organization.pending-request": "Your organization request submitted on {created} is pending approval. The user who submitted it as the organization admin will receive an email when the approval process is complete.",
- "store/b2b-organizations.request-new-organization.approved-request": "Your organization has been created. Users who have been added to the organization can view and/or manage organizational details by logging in and going to My Account > My Organization.",
- "store/b2b-organizations.request-new-organization.declined-request": "Your organization request submitted on {created} has been declined.",
+ "store/b2b-organizations.request-new-organization.pending-request": "Your organization request submitted {created} is pending approval. The user submitted as the organization admin will receive an email when the approval process is complete.",
+ "store/b2b-organizations.request-new-organization.approved-request": "Your requested organization has been created. Users who have been added to the organization can view and/or manage organizational details by logging in and going to My Account > My Organization.",
+ "store/b2b-organizations.request-new-organization.declined-request": "Your organization request submitted {created} has been declined.",
"store/b2b-organizations.request-new-organization.phoneNumber": "Phone number",
"store/b2b-organizations.request-new-organization.phoneNumber.helpText": "Provide a phone number for this cost center. This will be shown in checkout for any users belonging to this cost center. (Optional)",
"store/b2b-organizations.request-new-organization.businessDocument": "Business document",
- "store/b2b-organizations.request-new-organization.businessDocument.helpText": "Provide a business document for this cost center. This can be the company registration number, Tax ID, VAT ID, or others and will be attached to the cost center's orders. (Optional)",
+ "store/b2b-organizations.request-new-organization.businessDocument.helpText": "Optionally provide a business document for the default cost center. This can be a tax ID, VAT ID, CNPJ, or other document and will be attached to the cost center's orders.",
"store/b2b-organizations.organization-details.toast.add-costCenter-success": "Cost center created successfully",
"store/b2b-organizations.organization-details.toast.add-costCenter-failure": "Cost center creation failed. See console for details.",
"store/b2b-organizations.organization-details.table.column-name.title": "Name",
@@ -197,8 +195,8 @@
"store/b2b-organizations.organization-details.button.new": "New",
"store/b2b-organizations.organization-details.button.add": "Add",
"store/b2b-organizations.organization-details.costCenters": "Cost Centers",
- "store/b2b-organizations.organization-details.add-costCenter": "Add Cost Center",
- "store/b2b-organizations.organization-details.add-costCenter.helpText": "Provide a default address for the cost center. Additional addresses may be added later.",
+ "store/b2b-organizations.organization-details.add-costCenter": "Add cost center",
+ "store/b2b-organizations.organization-details.add-costCenter.helpText": "Provide a default address for the cost center. Additional addresses may be added after creation.",
"store/b2b-organizations.organization-details.users": "Users",
"store/b2b-organizations.organization-details.add-user": "Add New User",
"store/b2b-organizations.organization-details.add-user.helpText": "If the email address you entered does not match an existing user account in this store, a user account will be created for them.",
@@ -275,5 +273,28 @@
"store/b2b-organizations.user-widget.impersonating": "Impersonating:",
"store/b2b-organizations.request-new-organization.submit-button.create-new-request": "Create New Request",
"store/b2b-organizations.stop-impersonation": "Stop Impersonation",
- "store/b2b-organizations.stop-impersonation-error": "Error stopping impersonation. See console for details."
+ "store/b2b-organizations.stop-impersonation-error": "Error stopping impersonation, see console for details.",
+ "store/b2b-organizations.request-new-organization.required-fields-panel.user-data": "User data",
+ "store/b2b-organizations.request-new-organization.newsletter.label": "I would like to receive a newsletter with promotions about Pardis",
+ "store/b2b-organizations.request-new-organization.privacyPolicies.label": "I agree with the Terms and Conditions and Privacy Policy",
+ "store/b2b-organizations.request-new-organization.state-registration-initials": "IE",
+ "store/b2b-organizations.request-new-organization.user-data": "User Data",
+ "store/b2b-organizations.request-new-organization.form-container-subtitle": "The user below will be assigned as the organization's administrator, and will be notified by email when the registration is approved.",
+ "store/b2b-organizations.request-new-organization.organization-data": "Company data",
+ "store/b2b-organizations.request-new-organization.organization-data-description": "Os dados a serem informados devem ser os mesmos do cartão CNPJ.",
+ "store/b2b-organizations.request-new-organization.cnpj.label": "CNPJ",
+ "store/b2b-organizations.request-new-organization.free": "Free",
+ "store/b2b-organizations.request-new-organization.yes": "Yes",
+ "store/b2b-organizations.request-new-organization.no": "No",
+ "store/b2b-organizations.request-new-organization.occupationArea": "Occupation Area",
+ "store/b2b-organizations.request-new-organization.occupationAreaDescription": "Description of the area of activity",
+ "store/b2b-organizations.request-new-organization.landline.label": "Telephone",
+ "store/b2b-organizations.request-new-organization.register-billing-address": "Registration/Billing Address",
+ "store/b2b-organizations.request-new-organization.register-billing-address-description": "The delivery address can be entered in my account in my organization/cost center as long as it is within the same state (UF) as the registration address informed above.",
+ "store/b2b-organizations.request-new-organization.form-title": "Register your company and get access to exclusive benefits",
+ "store/b2b-organizations.request-new-organization.form-subtitle": "Fill in the form below to access our catalog and make your purchases on our website.",
+ "store/b2b-organizations.request-new-organization.form-title-description": "Your registration will undergo an analysis and you will receive a response within 24 business hours.",
+ "store/b2b-organizations.request-new-organization.attach-file.acceptedFormats": "Supported formats: jpg, png and pdf",
+ "store/b2b-organizations.request-new-organization.required-fields-panel.title": "To proceed, fill in all mandatory fields:"
+
}
diff --git a/messages/pt.json b/messages/pt.json
index dc235dc2..cb665f8a 100644
--- a/messages/pt.json
+++ b/messages/pt.json
@@ -157,7 +157,6 @@
"store/b2b-organizations.autocomplete-searching": "Buscar organização",
"store/b2b-organizations.not-authenticated": "Você precisa estar conectado para acessar este conteúdo.",
"store/b2b-organizations.request-new-organization.title": "Solicitar nova organização",
- "store/b2b-organizations.request-new-organization.organization-name.label": "Nome da organização",
"store/b2b-organizations.request-new-organization.tradeName": "Nome fantasia",
"store/b2b-organizations.request-new-organization.tradeName.helpText": "Insira o nome fantasia da organização que será aplicado no checkout, se houver. (Opcional)",
"store/b2b-organizations.request-new-organization.b2b-customer-admin.title": "Usuário que será o Admin da organização",
@@ -275,5 +274,34 @@
"store/b2b-organizations.user-widget.impersonating": "Personificando:",
"store/b2b-organizations.request-new-organization.submit-button.create-new-request": "Criar nova solicitação",
"store/b2b-organizations.stop-impersonation": "Interromper personificação",
- "store/b2b-organizations.stop-impersonation-error": "Erro ao interromper a personificação. Consulte o console para mais detalhes."
-}
+ "store/b2b-organizations.stop-impersonation-error": "Erro ao interromper a personificação. Consulte o console para mais detalhes.",
+ "store/b2b-organizations.request-new-organization.form-title": "Cadastre sua empresa e tenha acesso a benefícios exclusivos",
+ "store/b2b-organizations.request-new-organization.form-subtitle": "Preencha o formulário abaixo para ter acesso ao nosso catálogo e realizar suas compras em nosso site",
+ "store/b2b-organizations.request-new-organization.form-title-description": "Seu cadastro passará por uma análise e você receberá o retorno em até 24 horas úteis.",
+ "store/b2b-organizations.request-new-organization.user-data": "Dados do usuário",
+ "store/b2b-organizations.request-new-organization.form-container-subtitle": "O usuário abaixo será atribuído como administrador da organização, e será notificado por e-mail quando o cadastro for aprovado.",
+ "store/b2b-organizations.request-new-organization.organization-data": "Dados da empresa",
+ "store/b2b-organizations.request-new-organization.organization-data-description": "Os dados a serem informados devem ser os mesmos do cartão CNPJ.",
+ "store/b2b-organizations.request-new-organization.cnpj.label": "CNPJ",
+ "store/b2b-organizations.request-new-organization.organization-name.label": "Razão Social",
+ "store/b2b-organizations.request-new-organization.free": "Isento",
+ "store/b2b-organizations.request-new-organization.yes": "Sim",
+ "store/b2b-organizations.request-new-organization.no": "Não",
+ "store/b2b-organizations.request-new-organization.occupationArea": "Área de atuação",
+ "store/b2b-organizations.request-new-organization.occupationAreaDescription": "Descrição da área de atuação",
+ "store/b2b-organizations.request-new-organization.landline.label": "Telefone",
+ "store/b2b-organizations.request-new-organization.register-billing-address": "Endereço de Cadastro/Faturamento",
+ "store/b2b-organizations.request-new-organization.register-billing-address-description": "O endereço de entrega poderá ser inserido na minha conta em minha organização/centro de custo desde que seja dentro do mesmo estado (UF) do endereço de cadastro informado acima.",
+ "store/b2b-organizations.request-new-organization.proof-attachment": "Anexo de Comprovantes",
+ "store/b2b-organizations.request-new-organization.proof-attachment-description": "Comercializamos itens de uso restrito, conforme legislação, por isso é necessário anexar o documento abaixo: Licença Sanitária Municipal Vigente",
+ "store/b2b-organizations.request-new-organization.attach-file.label": "Anexar arquivos",
+ "store/b2b-organizations.request-new-organization.attach-file.acceptedFormats": "Formatos aceitos: jpg, png e pdf",
+ "store/b2b-organizations.request-new-organization.newsletter.label": "Gostaria de receber newsletter com promoções sobre a Pardis",
+ "store/b2b-organizations.request-new-organization.privacyPolicies.label": "Estou de acordo com os Termos e Condições e Políticas de Privacidade",
+ "store/b2b-organizations.request-new-organization.required-fields-panel.title": "Para avançar preencha todos os campos obrigatórios:",
+ "store/b2b-organizations.request-new-organization.required-fields-panel.user-data": "Dados do usuário",
+ "store/b2b-organizations.request-new-organization.cpf.label": "CPF",
+ "store/b2b-organizations.request-new-organization.telephone.label": "Celular",
+ "store/b2b-organizations.request-new-organization.accept-terms-and-conditions": "Aceitar termos e condições",
+ "store/b2b-organizations.request-new-organization.state-registration-initials": "IE"
+}
\ No newline at end of file
diff --git a/react/MyOrganizationLink.tsx b/react/MyOrganizationLink.tsx
index a736be3b..7a701cac 100644
--- a/react/MyOrganizationLink.tsx
+++ b/react/MyOrganizationLink.tsx
@@ -1,18 +1,9 @@
import type { FC } from 'react'
-import { defineMessages, useIntl } from 'react-intl'
-
-const messages = defineMessages({
- linkText: {
- id: 'store/b2b-organizations.my-account-link',
- },
-})
const MyOrganizationLink: FC = ({ render }: any) => {
- const { formatMessage } = useIntl()
-
return render([
{
- name: formatMessage(messages.linkText),
+ name: 'Cadastro da empresa',
path: '/organization',
},
])
diff --git a/react/admin/OrganizationRequestDetails.tsx b/react/admin/OrganizationRequestDetails.tsx
index 1cdd714e..307f1f79 100644
--- a/react/admin/OrganizationRequestDetails.tsx
+++ b/react/admin/OrganizationRequestDetails.tsx
@@ -152,6 +152,11 @@ const OrganizationRequestDetails: FunctionComponent = () => {