{% extends extends_path %} {% load static %} {% load i18n %} {% load codenerix_common %} {% comment %} django-codenerix-invoicing Codenerix GNU Project URL : http://www.codenerix.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. {% endcomment %} {% block modal_title %}{% endblock %} {% block modal_content %}
{{ corporate_image.business_name }}
{{ corporate_image.address }} {% trans "CIF/NIF" %}: {{ corporate_image.nid }}
{{ corporate_image.zipcode }} {{ corporate_image.city }} {{ corporate_image.province }}

{% trans "BUDGET" %} {{ budget.code }}      {% trans "CLIENTE" %}
{% trans "Date" %} {{ budget.date|date:'Y-m-d' }} {{ budget.customer.external }} {{ budget.customer.external.nid }}
    {{ address_invoice.address }}
    {{ address_invoice.zipcode }} {{ address_invoice.city }} {{ address_invoice.province }} {% if address_invoice.province and address_invoice.country %} / {% endif %} {{ address_invoice.country }}

{% for lbs in line_budget_sales %} {% endfor %}
{% trans "Code"%} {% trans "Description"%} {% trans "Quantity" %} {% trans "Price" %} {% trans "Amount" %}
{{ lbs.code | nicenull }} {{ lbs.product }} {{ lbs.quantity }} {{ lbs.price_base|floatformat:"2" }} € {{ lbs.total|floatformat:"2" }} €

{% for key, tax in total_budget.taxes.items %} {% endfor %} {% for tax, amount in total_budget.discounts.items %} {% if tax %} {% endif %} {% endfor %} {% for tax, amount in total_budget.equivalence_surcharges %} {% endfor %}
     {% trans "Base imponible" %} {{ total_budget.subtotal|floatformat:"2" }} €
     {% if tax.label %} {{ tax.label }} {% else %} {{ key }} (%) {% endif %} {{ tax.amount|floatformat:"2" }} €
     {% trans "Discount" %}: ({{ tax }} %) {{ amount|floatformat:"2" }} €
     {% trans "Equivalence surchage" %}: {{ tax }} {{ amount|floatformat:"2" }} €
     {% trans "Total" %} {{ total_budget.total|floatformat:"2"}} €

{% trans "Address delivery" %}:
{{ budget.address_delivery | nicenull }}

{% trans "Observaciones" %}:
{{ budget.observations | nicenull }}
{% endblock %}