mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-04 22:38:49 +00:00
Formatting fixes
This commit is contained in:
parent
b2bb1ea1fe
commit
4a2b6a5674
@ -27,6 +27,11 @@
|
|||||||
<td>Serial</td>
|
<td>Serial</td>
|
||||||
<td>{{ item.serial }}</td>
|
<td>{{ item.serial }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% else %}
|
||||||
|
<tr>
|
||||||
|
<td>Quantity</td>
|
||||||
|
<td>{{ item.quantity }}</td>
|
||||||
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.batch %}
|
{% if item.batch %}
|
||||||
<tr>
|
<tr>
|
||||||
@ -40,10 +45,6 @@
|
|||||||
<td>{{ item.customer.name }}</td>
|
<td>{{ item.customer.name }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr>
|
|
||||||
<td>Quantity</td>
|
|
||||||
<td>{{ item.quantity }}</td>
|
|
||||||
</tr>
|
|
||||||
{% if item.URL %}
|
{% if item.URL %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>URL</td>
|
<td>URL</td>
|
||||||
@ -79,20 +80,26 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% if item.has_tracking_info %}
|
{% if item.has_tracking_info %}
|
||||||
<h3>Stock Tracking</h3>
|
<div class='panel panel-default'>
|
||||||
|
<div data-toggle='collapse' data-target='#tracking-info' class='panel panel-heading'><h4>Tracking History</h4></div>
|
||||||
|
<div class='panel panel-body' id='tracking_info'>
|
||||||
<ul class='list-group'>
|
<ul class='list-group'>
|
||||||
{% for track in item.tracking_info.all %}
|
{% for track in item.tracking_info.all %}
|
||||||
<li class='list-group-item'>
|
<li class='list-group-item'>
|
||||||
<b>{{ track.title }}</b>
|
<b>{{ track.title }}</b>
|
||||||
{% if track.notes %}
|
{% if track.notes %}
|
||||||
<br><br>{{ track.notes }}</i>
|
<br>{{ track.notes }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class='badge'>{{ track.date }}</span>
|
<span class='badge'>{{ track.date }} - {{ track.user }}</span>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<div class='container-fluid'>
|
<div class='container-fluid'>
|
||||||
<button class='btn btn-info' id='edit-item'>Edit Stock Item</button>
|
<button class='btn btn-info' id='edit-item'>Edit Stock Item</button>
|
||||||
{% if item.in_stock %}
|
{% if item.in_stock %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
{% for child in locations.all %}
|
{% for child in locations.all %}
|
||||||
<li class="list-group-item"><a href="{% url 'stock-location-detail' child.id %}">{{ child.name }}</a> - <i>{{ child.description }}</li>
|
<li class="list-group-item"><a href="{% url 'stock-location-detail' child.id %}">{{ child.name }}</a> - <i>{{ child.description }}</i></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
Loading…
x
Reference in New Issue
Block a user