<commit_before>{% extends 'base.html' %}

{% block content %}
<table border="1px solid" class="centered_list">
    <tr>
        <th>Invoice ID</th>
        <th>Total Invoice Amount</th>
        <th>Item Record ID</th>
        <th>Bill To</th>
        <th>Paid For By</th>
        <th>Invoice Date</th>
        <th>Paid?</th>
        <th>Payment Type</th>
    </tr>
{% for invoice in invoices %}
    <tr>
        <td>
            {{ invoice.id }}
        </td>
        <td>
            <a href="{% url 'invoice_info' invoice.id %}">{{ invoice.total_amount }}</a>
        </td>
        <td>
            {% for item in invoice.items.all %}
                <a href="{% url 'item_info' item.id %}">{{ item.id }}</a><br/>
                ({{ item.description }})
            {% endfor %}
        </td>
        <td>
            {% if invoice.bill_to %}
            <a href="{% url 'attendee_info' invoice.bill_to.id %}">{{ invoice.bill_to.first_name }} {{ invoice.bill_to.last_name }}</a><br/>
            (Bidder No. {{ invoice.bill_to.bid_number }})
            {% endif %}
        </td>
        <td>
            {{ invoice.paid_for_by}}
        </td>
        <td>
            {{ invoice.invoice_date }}
        </td>
        <td>
            {{ invoice.paid|yesno }}
        </td>
        <td>
            {{ invoice.payment_type }}
        </td>
        <td>
            <a href="{% url 'update_invoice' invoice.id %}"><button type="button">Update Invoice</button></a>
        </td>
        <td>
            <a href="{% url 'delete_invoice' invoice.id %}"><button type="button">delete</button></a>
        </td>
    </tr>
{% endfor %}
</table>
{% endblock %}<commit_msg>updating models, adding templatetags, rearranging stuff, and other changes i dont remember<commit_after>{% extends 'base.html' %}

{% block content %}
<table border="1px solid" class="centered_list">
    <tr>
        <th>Invoice ID</th>
        <th>Total Invoice Amount</th>
        <th>Item Record ID</th>
        <th>Invoice For</th>
        <th>Paid For By</th>
        <th>Invoice Date</th>
        <th>Paid?</th>
        <th>Payment Type</th>
    </tr>
{% for invoice in invoices %}
    <tr>
        <td>
            {{ invoice.id }}
        </td>
        <td>
            <a href="{% url 'invoice_info' invoice.id %}">{{ invoice.total_amount }}</a>
        </td>
        <td>
            {% for item in invoice.items.all %}
                <a href="{% url 'item_info' item.id %}">{{ item.id }}</a><br/>
                ({{ item.description }})
            {% endfor %}
        </td>
        <td>
            {% if invoice.bill_to %}
            <a href="{% url 'attendee_info' invoice.bill_to.id %}">{{ invoice.bill_to.first_name }} {{ invoice.bill_to.last_name }}</a><br/>
            (Bidder No. {{ invoice.bill_to.bid_number }})
            {% endif %}
        </td>
        <td>
            {{ invoice.paid_for_by}}
        </td>
        <td>
            {{ invoice.invoice_date }}
        </td>
        <td>
            {{ invoice.paid_for_by|yesno:"yes,no" }}
        </td>
        <td>
            {{ invoice.payment_type }}
        </td>
        <td>
            <a href="{% url 'update_invoice' invoice.id %}"><button type="button">Update Invoice</button></a>
        </td>
        <td>
            <a href="{% url 'delete_invoice' invoice.id %}"><button type="button">delete</button></a>
        </td>
    </tr>
{% endfor %}
</table>
{% endblock %}
{'fraction_non_alphanumeric': 0.18799183911396095, 'fraction_numerical': 0.0005829204313611193, 'mean_word_length': 1.6481481481481481, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '663706', 'n_tokens_mistral': 1231, 'n_tokens_neox': 1120, 'n_words': 235}