You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
689 B
22 lines
689 B
|
|
<div class="card">
|
|
<ul class="list-group list-group-flush">
|
|
{% for item in items %}
|
|
<li class="list-group-item">
|
|
<div class="row">
|
|
<p class="col">{{ item.create_date }}</p>
|
|
<p class="col">{{ item.item_name }}</p>
|
|
<p class="col">{{ item.user_name }}</p>
|
|
<p class="col">
|
|
{% match item.item_type %}
|
|
{% when HistoryItemEntry::PositiveAdjustment with (entry) %}
|
|
{{ entry.amount }} @ {{ entry.unit_value }}
|
|
{% when HistoryItemEntry::NegativeAdjustment with (entry) %}
|
|
{{ entry.amount }} {{ entry.reason }}
|
|
{% endmatch %}
|
|
</p>
|
|
</div>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div> |