{% for item in quotation.items %}
| {{ item.description or '' }} |
{{ item.unit_cost | format_money }} |
{% if item.discount_percent and item.discount_percent > 0 %}
{{ item.discount_percent | int }}%
{% else %}
—
{% endif %}
|
{{ item.quantity | int if item.quantity == (item.quantity | int) else item.quantity }} |
{{ item.unit_type }} |
{% if item.vat_percent and item.vat_percent > 0 %}
{{ item.vat_percent | int }}%
{% else %}
—
{% endif %}
|
{{ item.line_total | format_money }} |
{% endfor %}
{% if quotation.items | length == 0 %}
| — |
{% endif %}
{# ── Shipping / Install as special rows ── #}
{% set has_special = (quotation.shipping_cost and quotation.shipping_cost > 0) or (quotation.install_cost and quotation.install_cost > 0) %}
{% if has_special %}
|
{% endif %}
{% if quotation.shipping_cost and quotation.shipping_cost > 0 %}
{% set ship_net = quotation.shipping_cost * (1 - quotation.shipping_cost_discount / 100) %}
| {{ L_SHIPPING_COST }}{% if quotation.shipping_cost_discount and quotation.shipping_cost_discount > 0 %} (-{{ quotation.shipping_cost_discount | int }}%){% endif %} |
{{ quotation.shipping_cost | format_money }} |
— |
1 |
— |
— |
{{ ship_net | format_money }} |
{% endif %}
{% if quotation.install_cost and quotation.install_cost > 0 %}
{% set install_net = quotation.install_cost * (1 - quotation.install_cost_discount / 100) %}
| {{ L_INSTALL_COST }}{% if quotation.install_cost_discount and quotation.install_cost_discount > 0 %} (-{{ quotation.install_cost_discount | int }}%){% endif %} |
{{ quotation.install_cost | format_money }} |
— |
1 |
— |
— |
{{ install_net | format_money }} |
{% endif %}
{# ── Quick Notes ── #} {# Payment Advance #} {% if qn.payment_advance and qn.payment_advance.enabled %} {% set pct = qn.payment_advance.percent | string %} {% if lang == 'gr' %}- Απαιτείται προκαταβολή {{ pct }}% με την επιβεβαίωση της παραγγελίας.
{% else %}
- {{ pct }}% advance payment is required upon order confirmation.
{% endif %}
{% endif %}
{# Lead Time #}
{% if qn.lead_time and qn.lead_time.enabled %}
{% set days = qn.lead_time.days | string %}
{% if lang == 'gr' %}
- Εκτιμώμενος χρόνος παράδοσης, {{ days }} εργάσιμες ημέρες από την επιβεβαίωση της παραγγελίας και παραλαβή της προκαταβολής.
{% else %}
- Estimated delivery time is {{ days }} working days from order confirmation and receipt of advance payment.
{% endif %}
{% endif %}
{# Backup Relays #}
{% if qn.backup_relays and qn.backup_relays.enabled %}
{% set n = qn.backup_relays.count | int %}
{% if lang == 'gr' %}
{% if n == 1 %}
- Συμπεριλαμβάνονται: {{ n }} έξτρα Εφεδρικό Ρελέ Ισχύος
{% else %}
- Συμπεριλαμβάνονται: {{ n }} έξτρα Εφεδρικά Ρελέ Ισχύος
{% endif %}
{% else %}
{% if n == 1 %}
- {{ n }} Extra Relay included as Backup, free of charge.
{% else %}
- {{ n }} Extra Relays included as Backups, free of charge.
{% endif %}
{% endif %}
{% endif %}
{# ── Dynamic comments ── #}
{% if has_comments %}
{% for comment in quotation.comments %}
{% if comment and comment.strip() %}
- {{ comment }}
{% endif %}
{% endfor %}
{% endif %}