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

{% block title %}KingInvoice{% endblock %}

{% block body %}
    <h1>KingInvoice</h1>

    <table class="table">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ king_invoice.id }}</td>
            </tr>
            <tr>
                <th>Status</th>
                <td>{{ king_invoice.status }}</td>
            </tr>
            <tr>
                <th>DateCreated</th>
                <td>{{ king_invoice.dateCreated ? king_invoice.dateCreated|date('Y-m-d H:i:s') : '' }}</td>
            </tr>
            <tr>
                <th>TotalAmount</th>
                <td>{{ king_invoice.totalAmount }}</td>
            </tr>
            <tr>
                <th>PaymentMode</th>
                <td>{{ king_invoice.paymentMode }}</td>
            </tr>
        </tbody>
    </table>

    <a href="{{ path('app_king_invoice_index') }}">back to list</a>

    <a href="{{ path('app_king_invoice_edit', {'id': king_invoice.id}) }}">edit</a>

    {{ include('king_invoice/_delete_form.html.twig') }}
{% endblock %}
