<commit_before>{% extends 'om/base.html' %}
{% load i18n %}

{% block title %}{% blocktrans %}Orders to {{ company }}{% endblocktrans %}{% endblock %}

{% block content %}

<h1>{% blocktrans %}Orders to {{ company }}{% endblocktrans %}</h1>

<table class="table table-striped table-hover">
<thead>
<tr>
<td>{% trans "Order reference" %}</td>
<td>{% trans "Ordered" %}</td>
<td>{% trans "Unit" %}</td>
<td>{% trans "Reference" %}</td>
<td>{% trans "Description" %}</td>
</tr>
</thead>
<tbody>
{% for item in item_list %}
<tr>
<td><a href="{% url 'om_order_detail' item.order.id %}">{{ item.order }}</a></td>
<td>{{ item.ordered_quantity }}</td>
<td>{{ item.offer.article.measure_unit }}</td>
<td><a href="{% url 'wm_article_detail' item.offer.article.id %}">{{ item.offer.article.code }}</a></td>
<td>{{ item.offer.article.description }}</td>
</tr>
{% endfor %}
</tbody>
</table><commit_msg>show date and user in order items list by company<commit_after>{% extends 'om/base.html' %}
{% load i18n %}

{% block title %}{% blocktrans %}Orders to {{ company }}{% endblocktrans %}{% endblock %}

{% block content %}

<h1>{% blocktrans %}Orders to {{ company }}{% endblocktrans %}</h1>

<table class="table table-striped table-hover">
<thead>
<tr>
<td>{% trans "Order reference" %}</td>
<td>{% trans "Ordered by" %}</td>
<td>{% trans "Date" %}</td>
<td>{% trans "Ordered" %}</td>
<td>{% trans "Unit" %}</td>
<td>{% trans "Reference" %}</td>
<td>{% trans "Description" %}</td>
</tr>
</thead>
<tbody>
{% for item in item_list %}
<tr>
<td><a href="{% url 'om_order_detail' item.order.id %}">{{ item.order }}</a></td>
<td>{{ item.order.created_by }}</td>
<td>{{ item.order.created_at }}</td>
<td>{{ item.ordered_quantity }}</td>
<td>{{ item.offer.article.measure_unit }}</td>
<td><a href="{% url 'wm_article_detail' item.offer.article.id %}">{{ item.offer.article.code }}</a></td>
<td>{{ item.offer.article.description }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{'fraction_non_alphanumeric': 0.26639344262295084, 'fraction_numerical': 0.004098360655737705, 'mean_word_length': 5.08411214953271, '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': '3820296', 'n_tokens_mistral': 793, 'n_tokens_neox': 734, 'n_words': 191}