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.
inventory-app/templates/item/adjustment/adjustment-table.html

26 lines
716 B

<table class="table" hx-get="/item/{{item_id}}/adjustments" hx-trigger="new-adjustment from:body" hx-swap="outerHTML">
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Amount</th>
<th scope="col">Reason</th>
<th scope="col">Unit Value</th>
<th scope="col">Running Total</th>
<th scope="col">Running Value</th>
</tr>
</thead>
<tbody>
{% for item in adjustments %}
<tr>
<td>{{ item.date }}</td>
<td>{{ item.amount }}</td>
<td>{{ item.reason }}</td>
<td>{{ item.unit_value }}</td>
<td>{{ item.tally }}</td>
<td>{{ item.tally_value }}</td>
</tr>
{% endfor %}
</tbody>
</table>

Powered by TurnKey Linux.