mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Move buttons to separate table column
This commit is contained in:
parent
9eb1367d80
commit
cc90c8abbe
@ -61,6 +61,7 @@ function adjustStock(items, options={}) {
|
|||||||
<th>{% trans "Stock" %}</th>
|
<th>{% trans "Stock" %}</th>
|
||||||
<th>{% trans "Location" %}</th>
|
<th>{% trans "Location" %}</th>
|
||||||
<th>${actionTitle || ''}</th>
|
<th>${actionTitle || ''}</th>
|
||||||
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -145,12 +146,8 @@ function adjustStock(items, options={}) {
|
|||||||
<td id='part_${pk}'><img src='${image}' class='hover-img-thumb'> ${item.part_detail.full_name}</td>
|
<td id='part_${pk}'><img src='${image}' class='hover-img-thumb'> ${item.part_detail.full_name}</td>
|
||||||
<td id='stock_${pk}'>${quantity}${status}</td>
|
<td id='stock_${pk}'>${quantity}${status}</td>
|
||||||
<td id='location_${pk}'>${location}</td>
|
<td id='location_${pk}'>${location}</td>
|
||||||
<td id='action_${pk}'>
|
<td id='action_${pk}'>${actionInput}</td>
|
||||||
<div>
|
<td id='buttons_${pk}'>${buttons}</td>
|
||||||
${actionInput}
|
|
||||||
${buttons}
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>`;
|
</tr>`;
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user