From 5d9eafa55b2c6b5843567ce106c0f06356b304cb Mon Sep 17 00:00:00 2001 From: Federico Acosta Date: Mon, 29 Jun 2020 16:30:05 -0300 Subject: [PATCH] improved taxpayer details template --- templates/supplier_app/taxpayer-details.html | 429 +++++++++---------- 1 file changed, 200 insertions(+), 229 deletions(-) diff --git a/templates/supplier_app/taxpayer-details.html b/templates/supplier_app/taxpayer-details.html index 7847b36..660cdb0 100644 --- a/templates/supplier_app/taxpayer-details.html +++ b/templates/supplier_app/taxpayer-details.html @@ -13,142 +13,223 @@ {% include 'messages_notification.html' %}
-
-
-
-
-
-
{% trans "General information" %}
+
+
+
+
+
+ +
{% trans "General information" %}
| {% if taxpayer.taxpayer_state != 'DENIED' %} - {% trans "Edit" %} {% endif %} -
-
-
-
- {% trans "Status" %}: -

- + {% trans "Status" %}: +

+ {{ taxpayer.get_taxpayer_state_display}}

-
-
-
-
{% trans "Workday id" %}:
-

- {% if taxpayer.workday_id%} - {{taxpayer.workday_id}} - {% else %} - {% trans "No workday id" %} - {% endif%} -

+
+

{% trans "Workday id" %}:

+

+ {% if taxpayer.workday_id%} + {{taxpayer.workday_id}} + {% else %} + {% trans "No workday id" %} + {% endif%} +

-
-
{% trans "Business name" %}:
-

{{taxpayer.business_name}}

+ +
+

{% trans "Business name" %}:

+

{{taxpayer.business_name}}

-
-
{% trans "Taxpayer Identification Number" %}:
-

{{taxpayer.cuit}}

+ +
+

{% trans "Taxpayer Identification Number" %}:

+

{{taxpayer.cuit}}

-
-
-
-
{% trans "Payment Type" %}:
-

{{taxpayer.get_payment_type_display}}

+
+

{% trans "Payment Type" %}:

+

{{taxpayer.get_payment_type_display}}

-
-
{% trans "Payment Term" %}:
-

{{taxpayer.payment_term}}

+ +
+

{% trans "Payment Term" %}:

+

{{taxpayer.payment_term}}

-
-
{% trans "EB entities" %}:
+ +
+

{% trans "EB entities" %}:

{% for eb_entity in taxpayer.eb_entities%} -

{{eb_entity}}

- {% endfor%} +

{{eb_entity}}

+ {% endfor%} +
+ +
+

{% trans "Country" %}:

+

{{taxpayer.country}}

+
+ +
+
+

{% trans "Files" %}:

+
+ +
+ + + {% trans "AFIP registration certificate" %} + + + + + + + + {% trans "IIBB registration certificate" %} + + + + + + {% if taxpayer.witholding_taxes_file %} + + + {% trans "Certificate of no income withholding" %} + + + + {% endif %} + + + {% if taxpayer.afip_no_retention_taxes_file %} + + + {% trans "AFIP No Retention" %} + + + + {% endif %} + + + {% if taxpayer.iibb_no_retention_taxes_file %} + + + {% trans "IIBB No Retention" %} + + + + {% endif %} + + + {% if taxpayer.witholding_suss_file %} + + + {% trans "Certificate of no SUSS withholding" %} + + + + {% endif %} +
+
+ +
+

+

-
-
-
{% trans "Country" %}:
-

{{taxpayer.country}}

+ +
+
+
{% trans "Contact information" %}
+ | + {% if taxpayer.taxpayer_state != 'DENIED' %} + + {% trans "Edit" %} + + + {% endif %} +
+ +
+

{% trans "Contact person" %}:

+

{{taxpayer_contact.contact_person}}

+
+ +
+

{% trans "Phone number" %}:

+

{{taxpayer_contact.phone_number}}

+
+ +
+

{% trans "Email" %}:

+

{{taxpayer_contact.email}}

-
-
{% trans "Files" %}:
- - - {% trans "AFIP registration certificate" %} - - - - - - - - {% trans "IIBB registration certificate" %} - - - - - - {% if taxpayer.witholding_taxes_file %} - - - {% trans "Certificate of no income withholding" %} - - - - {% endif %} - - - {% if taxpayer.afip_no_retention_taxes_file %} - - - {% trans "AFIP No Retention" %} - - - - {% endif %} - - - {% if taxpayer.iibb_no_retention_taxes_file %} - - - {% trans "IIBB No Retention" %} - - - - {% endif %} - - - {% if taxpayer.witholding_suss_file %} - - - {% trans "Certificate of no SUSS withholding" %} - - - - {% endif %} + +
+

{% trans "Web site" %}:

+

{{taxpayer_contact.website}}

-
+ +
+
{% trans "Address information" %}
+ | + {% if taxpayer.taxpayer_state != 'DENIED' %} + + {% trans "Edit" %} + + + {% endif %} +
+ +
+

{% trans "Street"%}:

+

{{taxpayer_address.street}}

+
+ +
+

{% trans "Number"%}:

+

{{taxpayer_address.number}}

+
+ +
+

{% trans "City"%}:

+

{{taxpayer_address.city}}

+
+ +
+

{% trans "Zip_Code"%}:

+

{{taxpayer_address.zip_code}}

+
+ +
+

{% trans "State"%}:

+

{{taxpayer_address.state}}

+
+ +
+

{% trans "Country"%}:

+

{{taxpayer_address.country}}

@@ -173,54 +254,54 @@
{% trans "Bank info" %}
-
+

{% trans "Bank name" %}:

{{taxpayer_bank_account.get_bank_info_display}}

-
+

{% trans "Beneficiary" %}:

{{taxpayer_bank_account.bank_beneficiary}}

-
+

{% trans "Bank account type" %}:

{{taxpayer_bank_account.get_bank_account_type_display}}

-
+

{% trans "Bank transaction type" %}:

{{taxpayer_bank_account.get_bank_transaction_type_display}}

-
+

{% trans "Taxpayer condition" %}:

{{taxpayer.get_taxpayer_condition_display}}

-
+

{% trans "Bank code" %}:

{{taxpayer_bank_account.bank_info}}

-
+

{% trans "Account number" %}:

{{taxpayer_bank_account.bank_account_number}}

- - -
-
- -
-
-
{% trans "Contact information" %}
- | - {% if taxpayer.taxpayer_state != 'DENIED' %} - - {% trans "Edit" %} - - - {% endif %} -
-
-
-
-
-
-
-
{% trans "Contact person" %}:
-

{{taxpayer_contact.contact_person}}

-
-
-
-
-
-
-
-
-
{% trans "Phone number" %}:
-

{{taxpayer_contact.phone_number}}

-
-
-
-
-
-
-
-
-
{% trans "Email" %}:
-

{{taxpayer_contact.email}}

-
-
-
-
-
-
-
-
-
{% trans "Web site" %}:
-

{{taxpayer_contact.website}}

-
-
-
-
-
- -
-
-
{% trans "Address information" %}
- | - {% if taxpayer.taxpayer_state != 'DENIED' %} - - {% trans "Edit" %} - - - {% endif %} -
-
-
-
-
-
{% trans "Street"%}:
-

{{taxpayer_address.street}}

-
-
-
{% trans "Number"%}:
-

{{taxpayer_address.number}}

-
-
- -
-
-
{% trans "City"%}:
-

{{taxpayer_address.city}}

-
-
-
{% trans "Zip_Code"%}:
-

{{taxpayer_address.zip_code}}

-
-
- -
-
-
{% trans "State"%}:
-

{{taxpayer_address.state}}

-
-
-
{% trans "Country"%}:
-

{{taxpayer_address.country}}

-
@@ -354,14 +326,13 @@
{% trans "Country"%}:
{% endif %}
- + {% trans "Taxpayer History" %} {% endif %}
-