 </span>
                    {% endif %}
                </td>
                <td>{{ purchase.delivery_date }}</td>
                <td>{{ purchase.vendor.name }}</td>
                <td>
                    <a class="text-info" href="{% url 'purchase-update' purchase.id %}">
                        <i class="fa-solid fa-pen"></i>
                    </a>
                    <a class="text-danger float-end" href="{% url 'purchase-delete' purchase.id %}">
                        <i class="fa-solid fa-trash