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

{% block body %}
    <h1>Ürün Geçmişi Detayı</h1>

    <table>
        <tbody>

            <tr>
                <th>Amount</th>
                <td>{{ productHistory.amount }}</td>
            </tr>
            <tr>
                <th>Expectationamount</th>
                <td>{{ productHistory.expectationAmount }}</td>
            </tr>
            <tr>
                <th>Remainingamount</th>
                <td>{{ productHistory.remainingAmount }}</td>
            </tr>
            <tr>
                <th>Price</th>
                <td>{{ productHistory.price }}</td>
            </tr>
        </tbody>
    </table>

    <ul>
        <li>
            <a href="{{ path('producthistory_index') }}">Listeye Geri Dön</a>
        </li>
        <li>
            <a href="{{ path('producthistory_edit', { 'id': productHistory.id }) }}">Düzenle</a>
        </li>
        <li>
            {{ form_start(delete_form) }}
                <input type="submit" onclick="return confirm('Silmek istediğinize emin misiniz?');" value="Sil">
            {{ form_end(delete_form) }}
        </li>
    </ul>
{% endblock %}
