Skip to content

Commit

Permalink
Added some text to educate buyer
Browse files Browse the repository at this point in the history
  • Loading branch information
facosta-eb committed Jun 16, 2020
1 parent 2718421 commit dab5ca2
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 30 deletions.
Binary file modified supplier_management_site/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
39 changes: 30 additions & 9 deletions supplier_management_site/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-16 19:44+0000\n"
"POT-Creation-Date: 2020-06-16 20:04+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -2571,13 +2571,13 @@ msgid "Routing number must only have numbers"
msgstr "El número de ruta solo debe tener numeros"

#: supplier_management_site/settings/base.py:146
#: templates/supplier_app/AP/company_creation.html:39
#: templates/supplier_app/AP/company_creation.html:42
#: templates/supplier_app/AP/company_list.html:58
msgid "English"
msgstr "Inglés"

#: supplier_management_site/settings/base.py:147
#: templates/supplier_app/AP/company_creation.html:42
#: templates/supplier_app/AP/company_creation.html:45
#: templates/supplier_app/AP/company_list.html:61
msgid "Spanish"
msgstr "Español"
Expand Down Expand Up @@ -2789,7 +2789,7 @@ msgstr "Enviar"
#: templates/invoices_app/invoices_form.html:158
#: templates/invoices_app/invoices_form.html:160
#: templates/registration/admin_create.html:34
#: templates/supplier_app/AP/company_creation.html:50
#: templates/supplier_app/AP/company_creation.html:65
#: templates/supplier_app/edit-address-information.html:25
#: templates/supplier_app/edit-bank-account-information.html:25
#: templates/supplier_app/edit-contact-information.html:25
Expand Down Expand Up @@ -3020,12 +3020,36 @@ msgstr "Crear un nuevo grupo económico"
msgid "Description"
msgstr "Descripción"

#: templates/supplier_app/AP/company_creation.html:45
#: templates/supplier_app/AP/company_creation.html:37
msgid "Invitation"
msgstr "Invitación"

#: templates/supplier_app/AP/company_creation.html:48
#: templates/supplier_app/AP/company_list.html:64
msgid "Portuguese"
msgstr "Portugués"

#: templates/supplier_app/AP/company_creation.html:49
#: templates/supplier_app/AP/company_creation.html:56
msgid "Instructions on next steps"
msgstr "Instrucciones en pasos siguientes"

#: templates/supplier_app/AP/company_creation.html:57
msgid ""
"This supplier will have to accept the invitation, sign up on BriteSu, and "
"then complete the supplier registration request. We'll notify you once it's "
"approved so that you can create a Purchase Requisition on Workday for this "
"supplier."
msgstr ""
"Este proveedor deberá aceptar la invitación, registrarse en BriteSu, y luego "
"completar el formulario de alta de proveedor. Te notificaremos una vez "
"que éste sea aprobado para que puedas crear una solicitud de compra "
"en Workday."

#: templates/supplier_app/AP/company_creation.html:60
msgid "I Understand"
msgstr "He comprendido"

#: templates/supplier_app/AP/company_creation.html:64
msgid "Create Company"
msgstr "Crear un nuevo grupo económico"

Expand Down Expand Up @@ -3529,9 +3553,6 @@ msgstr ""
#~ msgid "Details"
#~ msgstr "Detalles"

#~ msgid "Instructions on next steps,"
#~ msgstr "Instrucciones a seguir,"

#~ msgid ""
#~ "First, Soon your contact at Eventbrite will send you a Purchase Order "
#~ "Number."
Expand Down
34 changes: 28 additions & 6 deletions supplier_management_site/locale/pt_BR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-16 19:44+0000\n"
"POT-Creation-Date: 2020-06-16 20:04+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -2678,13 +2678,13 @@ msgid "Routing number must only have numbers"
msgstr "número da conta de banco"

#: supplier_management_site/settings/base.py:146
#: templates/supplier_app/AP/company_creation.html:39
#: templates/supplier_app/AP/company_creation.html:42
#: templates/supplier_app/AP/company_list.html:58
msgid "English"
msgstr "Inglês"

#: supplier_management_site/settings/base.py:147
#: templates/supplier_app/AP/company_creation.html:42
#: templates/supplier_app/AP/company_creation.html:45
#: templates/supplier_app/AP/company_list.html:61
msgid "Spanish"
msgstr "Espanhol"
Expand Down Expand Up @@ -2904,7 +2904,7 @@ msgstr "Enviar"
#: templates/invoices_app/invoices_form.html:158
#: templates/invoices_app/invoices_form.html:160
#: templates/registration/admin_create.html:34
#: templates/supplier_app/AP/company_creation.html:50
#: templates/supplier_app/AP/company_creation.html:65
#: templates/supplier_app/edit-address-information.html:25
#: templates/supplier_app/edit-bank-account-information.html:25
#: templates/supplier_app/edit-contact-information.html:25
Expand Down Expand Up @@ -3136,12 +3136,34 @@ msgstr "Crie uma nova empresa"
msgid "Description"
msgstr "Descrição"

#: templates/supplier_app/AP/company_creation.html:45
#: templates/supplier_app/AP/company_creation.html:37
#, fuzzy
#| msgid "Invoice Date"
msgid "Invitation"
msgstr "Data da fatura"

#: templates/supplier_app/AP/company_creation.html:48
#: templates/supplier_app/AP/company_list.html:64
msgid "Portuguese"
msgstr "Português"

#: templates/supplier_app/AP/company_creation.html:49
#: templates/supplier_app/AP/company_creation.html:56
msgid "Instructions on next steps"
msgstr ""

#: templates/supplier_app/AP/company_creation.html:57
msgid ""
"This supplier will have to accept the invitation, sign up on BriteSu, and "
"then complete the supplier registration request. We'll notify you once it's "
"approved so that you can create a Purchase Requisition on Workday for this "
"supplier."
msgstr ""

#: templates/supplier_app/AP/company_creation.html:60
msgid "I Understand"
msgstr ""

#: templates/supplier_app/AP/company_creation.html:64
msgid "Create Company"
msgstr "Criar Empresa"

Expand Down
43 changes: 29 additions & 14 deletions templates/supplier_app/AP/company_creation.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,35 @@ <h6>{% trans "Description" %}</h6>
</div>
<textarea name="description" cols="40" rows="10" required="" id="id_description" class='form-control'></textarea>
</div>
<div class="form-row">
<input class="form-control form-control-sm col-md-5 m-1 " type="email" name="email" placeholder="Email">
<select class="form-control form-control-sm col-md-3 m-1" name="language" class="selectpicker" data-width="fit">
<option value="en" data-content="<span class='flag-icon flag-icon-us'></span> English">
{% trans "English" %}
</option>
<option value="es" data-content='<span class="flag-icon flag-icon-br"></span> Español'>
{% trans "Spanish" %}
</option>
<option value="pt-br"data-content='<span class="flag-icon flag-icon-br"></span> Portuguese'>
{% trans "Portuguese" %}
</option>
</select>
</div>
<div class="row justify-content-center">
<div class="col">
<h6>{% trans "Invitation" %}</h6>
<div>
<input class="form-control form-control-sm col-md-5 m-1 d-inline" type="email" name="email" placeholder="Email" required>
<select class="form-control form-control-sm col-md-3 m-1 d-inline" name="language" class="selectpicker" data-width="fit">
<option value="en" data-content="<span class='flag-icon flag-icon-us'></span> English">
{% trans "English" %}
</option>
<option value="es" data-content='<span class="flag-icon flag-icon-br"></span> Español'>
{% trans "Spanish" %}
</option>
<option value="pt-br"data-content='<span class="flag-icon flag-icon-br"></span> Portuguese'>
{% trans "Portuguese" %}
</option>
</select>
</div>
</div>
</div>

<div class="row m-3 justify-content-center">
<h6>{% trans "Instructions on next steps" %}</h6>
<p>{% trans "This supplier will have to accept the invitation, sign up on BriteSu, and then complete the supplier registration request. We'll notify you once it's approved so that you can create a Purchase Requisition on Workday for this supplier." %}</p>
<label for="fede">
<input type="checkbox" name="fede" id="fede" required>
{% trans "I Understand" %}
</label>

</div>
<input type="submit" value="{% trans 'Create Company' %}" class='btn btn-success m-2'>
<a class="btn btn-danger" href="{% url 'company-list' %}">{% trans "Cancel" %}</a>
</form>
Expand Down
2 changes: 1 addition & 1 deletion templates/supplier_app/Buyer/taxpayer_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

{% block content %}
{% include 'navbar.html' %}
{% include 'messages_notification.html'%}
{% include 'supplier_app/AP/companies_modal.html' %}
<div class="container h-100 w-100 mt-3">
{% include 'messages_notification.html'%}
<div class="row justify-content-center">
<h1>
{% trans "Organizations" %}
Expand Down

0 comments on commit dab5ca2

Please sign in to comment.