{% extends 'base.html.twig' %}

{% block title %}KingInvoiceDetail index{% endblock %}

{% block body %}
    <h1>KingInvoiceDetail index</h1>

    <table class="table">
        <thead>
            <tr>
                <th>Id</th>
                <th>Quantity</th>
                <th>UnitPrice</th>
                <th>actions</th>
            </tr>
        </thead>
        <tbody>
        {% for king_invoice_detail in king_invoice_details %}
            <tr>
                <td>{{ king_invoice_detail.id }}</td>
                <td>{{ king_invoice_detail.quantity }}</td>
                <td>{{ king_invoice_detail.unitPrice }}</td>
                <td>
                    <a href="{{ path('app_king_invoice_detail_show', {'id': king_invoice_detail.id}) }}">show</a>
                    <a href="{{ path('app_king_invoice_detail_edit', {'id': king_invoice_detail.id}) }}">edit</a>
                </td>
            </tr>
        {% else %}
            <tr>
                <td colspan="4">no records found</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <a href="{{ path('app_king_invoice_detail_new') }}">Create new</a>
{% endblock %}
