<commit_before>{% extends '_base.html' %}
{% import "bootstrap/wtf.html" as wtf %}

{% block content %}

  <header class="content-header">
    <h1>Purchase Order</h1>
  </header>
  <h2>Vendor</h2>
  <h3>{{ result.vendor.name }}</h3>
  <p>
  {% if result.vendor.website: %}
    {{ result.vendor.website }}<br>
  {% endif %}
  {{ result.vendor.line1 }}<br>
  {% if result.vendor.line2: %}
    {{ result.vendor.line2 }}<br>
  {% endif %}
  {{ result.vendor.city }}, {{ result.vendor.state }} {{ result.vendor.zip }}<br>
  </p>

  <table class="table table-striped table-bordered table-hover">
    <tr>
        <th>Item ID</th>
        <th>Name</th>
        <th>Quantity</th>
        <th>Unit Price</th>
        <th>Total</th>
    </tr>
    {% for line_item in result.line_items %}
        <tr>
            <td>{{ line_item.component_id }}</td>
            <td>{{ line_item.component.description }}</td>
            <td>{{ line_item.quantity }}</td>
            <td>{{ line_item.unit_price }}</td>
            <td>{{ line_item.total_price }}</td>
        </tr>
    {% endfor %}
  </table>

  

{% endblock %}
<commit_msg>fixed address in purchase order<commit_after>{% extends '_base.html' %}
{% import "bootstrap/wtf.html" as wtf %}

{% block content %}

  <header class="content-header">
    <h1>Purchase Order</h1>
  </header>
  <h2>Vendor</h2>
  <h3>{{ result.vendor.name }}</h3>
  <p>
  {% if result.vendor.website: %}
    {{ result.vendor.website }}<br>
  {% endif %}
  {{ result.vendor.address.line1 }}<br>
  {% if result.vendor.address.line2: %}
    {{ result.vendor.address.line2 }}<br>
  {% endif %}
  {{ result.vendor.address.city }}, {{ result.vendor.address.state }} {{ result.vendor.address.zip }}<br>
  </p>

  <table class="table table-striped table-bordered table-hover">
    <tr>
        <th>Item ID</th>
        <th>Name</th>
        <th>Quantity</th>
        <th>Unit Price</th>
        <th>Total</th>
    </tr>
    {% for line_item in result.line_items %}
        <tr>
            <td>{{ line_item.component_id }}</td>
            <td>{{ line_item.component.description }}</td>
            <td>{{ line_item.quantity }}</td>
            <td>{{ line_item.unit_price }}</td>
            <td>{{ line_item.total_price }}</td>
        </tr>
    {% endfor %}
  </table>

  

{% endblock %}

{'fraction_non_alphanumeric': 0.20608695652173914, 'fraction_numerical': 0.00782608695652174, 'mean_word_length': 2.4190193164933134, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '3950223', 'n_tokens_mistral': 883, 'n_tokens_neox': 814, 'n_words': 152}