Add pages column and widen data entry tables

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-07 08:48:35 +03:30
parent 9c35f78fcb
commit d99f860e13
3 changed files with 27 additions and 9 deletions

View File

@@ -108,6 +108,7 @@
<th data-i18n="batch_number">Batch</th>
<th data-i18n="canisters">Canisters</th>
<th data-i18n="boxes">Boxes</th>
<th data-i18n="total_pages">Pages</th>
<th data-i18n="status">Status</th>
<th></th>
</tr>
@@ -140,6 +141,7 @@
{{ o.box_count }}
{% endif %}
</td>
<td class="mono" id="pages-{{ o.id }}">{{ o.canister_pages|add:o.box_pages }}</td>
<td><span class="badge badge-{{ o.status }}">{{ o.get_status_display }}</span></td>
<td>
{% if o.status == 'pending' %}
@@ -148,7 +150,7 @@
</td>
</tr>
{% empty %}
<tr><td colspan="7" class="empty-state" data-i18n="no_orders">No orders yet</td></tr>
<tr><td colspan="8" class="empty-state" data-i18n="no_orders">No orders yet</td></tr>
{% endfor %}
</tbody>
</table>