{% load i18n %} {% load l10n %} {% load crispy_forms_tags %} {% load static %}

{% trans "Billing Recipt Preview" %}

{% if site_data.company_public %} {% else %} {% endif %}
{% if recipt.option == "budget_design" %}

{% trans "BUDGET" %}

{% elif recipt.option == "budget_marketing" %}

{% trans "BUDGET" %}

{% elif recipt.option == "budget_development" %}

{% trans "BUDGET" %}

{% else %}

{% trans "INVOICE" %}

{% endif %}

{{recipt.option}}

  • {% trans "Created" %}: {{recipt.created}}
  • {% trans "Address" %}: {{recipt.customer.address}}
  • {% trans "Client" %}: {{recipt.customer.full_name}}
  • N°: {% trans "Not asigned" %}

{% trans "Cost items" %}

{% if recipt.service_recipt.all %} {% for item in recipt.service_recipt.all %} {% if item.qty > 1 %} {% else %} {% endif %} {% endfor %} {% elif recipt.product_recipt.all %} {% for item in recipt.product_recipt.all %} {% if item.qty > 1 %} {% else %} {% endif %} {% endfor %} {% endif %}
{{item.field}} x {{item.qty}} {% trans "units" %} ${{item.amount}}
{{item.field}} ${{item.amount}}
{{item.field}} x {{item.qty}} {% trans "units" %} ${{item.amount}}
{{item.field}} ${{item.amount}}

{% if recipt.custom_discounts.all %}

{% trans "Discounts" %}

{% for item in recipt.custom_discounts.all %} {% endfor %}
{{item.field}} -${{item.amount}}

{% else %} {% if recipt.discounts.all %}

{% trans "Discounts" %}

{% for item in recipt.discounts.all %} {% endfor %}
{{item.field}} -${{item.amount}}

{% endif %} {% endif %}
{% if recipt.custom_discounts.all %} {% elif recipt.discounts.all %} {% else %} {% endif %} {% if recipt.option == 'Budget' %} {% else %} {% endif %}
{% trans "Subtotal" %}: ${{recipt.amount}}
{% trans "Discounts" %}: -${{recipt.discount}}
{% trans "Discounts" %}: -${{recipt.discount}}
{% trans "Discounts" %}: -------
{% trans "Tax" %}: ${{recipt.tax}}
{% trans "Total Amount" %}: ${{total}}
{% if recipt.recipt.report %}

{% trans "Service Report" %}:

{{recipt.recipt.report|safe}}
{% if recipt.recipt.option == 'Monthly charge' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "monthly_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'Billing receipt' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "billing_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'budget_design' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "budget_design_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'budget_marketing' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "budget_marketing_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'budget_development' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "budget_development_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% endif %}
{% else %}
{% if recipt.recipt.option == 'Monthly charge' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "monthly_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'Billing receipt' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "billing_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'budget_design' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "budget_design_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'budget_marketing' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "budget_marketing_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% elif recipt.recipt.option == 'budget_development' %} {% for get in site_data.admin.site_docs.all %} {% if get.section == "budget_development_terms" %} {% if get.lang == "en" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% elif get.lang == "es-ve" %}

{{get.title}} ({{get.section}})

{% for row in get.content.all %}

{{row.clause}}

{{row.clause_content|safe}} {% endfor %} {% endif %} {% endif %} {% endfor %} {% endif %}
{% endif %}

© Stela Control Dynamic | 2023