{{ quotes|length }} quote{{ 's' if quotes|length != 1 else '' }} found

{% if current_user.is_admin or has_permission('create_quotes') %} {% endif %}
{% if quotes %} {% if current_user.is_admin or has_permission('create_quotes') %} {% endif %} {% for quote in quotes %} {% if current_user.is_admin or has_permission('create_quotes') %} {% endif %} {% endfor %}
{{ _('Quote Number') }} {{ _('Title') }} {{ _('Client') }} {{ _('Amount') }} {{ _('Status') }} {{ _('Created') }} {{ _('Actions') }}
{{ quote.quote_number }} {{ quote.title }} {{ quote.client.name }} {% if quote.total_amount %} {{ "%.2f"|format(quote.total_amount) }} {{ quote.currency_code }} {% else %} {% endif %} {% if quote.status == 'draft' %} {{ _('Draft') }} {% elif quote.status == 'sent' %} {{ _('Sent') }} {% elif quote.status == 'accepted' %} {{ _('Accepted') }} {% elif quote.status == 'rejected' %} {{ _('Rejected') }} {% elif quote.status == 'expired' %} {{ _('Expired') }} {% endif %} {{ quote.created_at.strftime('%Y-%m-%d') if quote.created_at else '' }} {{ _('View') }}
{% else %} {% from "components/ui.html" import empty_state %} {% set actions %} {% if current_user.is_admin or has_permission('create_quotes') %} {{ _('Create Your First Quote') }} {% endif %} {{ _('Learn More') }} {% endset %} {% if search or status != 'all' %} {{ empty_state('fas fa-search', 'No Quotes Match Your Filters', 'Try adjusting your filters to see more results. You can clear filters or create a new quote that matches your criteria.', actions, type='no-results') }} {% else %} {{ empty_state('fas fa-file-contract', 'No Quotes Yet', 'Quotes help you manage client proposals and track acceptance rates. Create your first quote to get started!', actions, type='no-data') }} {% endif %} {% endif %}