{% extends '_include/base.html.twig' %} {% block title %} Quotation {{ quotation.offerId ?? quotation.id }} · ERP Starz {% endblock %} {% block breadcrumbs %} {% endblock %} {% block page_title %} Quotation {{ quotation.offerId ?? quotation.id }} {% endblock %} {% block page_actions %} Back to list Edit Add item {{ include('quotation/_delete_form.html.twig') }} {% endblock %} {% block content %} {% set currency = display_currency() %} {% set logoUrl = quotation.company and quotation.company.logo is not null ? asset(logo_directory ~ '/' ~ quotation.company.logo) : null %}

Overview

{% if logoUrl %} {{ quotation.company.name }} logo {% endif %}
Offer number
{{ quotation.offerId ?? '—' }}
Created on
{{ quotation.createdAt ? quotation.createdAt|date('Y-m-d') : '—' }}
Prepared by
{{ quotation.createdBy ? quotation.createdBy.name : '—' }}
Currency
{{ currency }}
Validity
{{ quotation.validity ?? '—' }}
Company
{{ quotation.company ? quotation.company.name : '—' }}
Customer
{{ quotation.customer ? quotation.customer.name : '—' }}
Contact
{% if quotation.customer %} {{ quotation.customer.contactName ?? '—' }} · {{ quotation.customer.email ?? 'No email' }} · {{ quotation.customer.phone ?? 'No phone' }} {% else %} — {% endif %}

Customer details

{% if quotation.customer %}
Customer
{{ quotation.customer.name }}
Address
{{ quotation.customer.address ?? '—' }}
Email
{{ quotation.customer.email ?? '—' }}
Phone
{{ quotation.customer.phone ?? '—' }}
{% else %}

Customer details unavailable.

{% endif %}

Line items

{% for item in quotation.quotationItems %} {% else %} {% endfor %}
# Description Unit price ({{ display_currency(currency) }}) Quantity Actions
{{ loop.index }} {{ item.productDesc }} {{ item.unitPrice is not null ? item.unitPrice|format_currency(currency) : '—' }} {{ item.quantity ?? '—' }} Edit item
No items captured yet. Use “Add item” above to record the first line.

Terms & conditions

Shipping term
{{ quotation.shippingTerm ?? '—' }}
Payment term
{{ quotation.payTerm ?? '—' }}
Lead time (first order)
{{ quotation.leadtime ?? '—' }}
Minimum order quantity
{{ quotation.minOrderQty ?? '—' }}
{% endblock %}