diff --git a/templates/consumable_list.html b/templates/consumable_list.html index 1c69696..8db33c4 100644 --- a/templates/consumable_list.html +++ b/templates/consumable_list.html @@ -140,31 +140,31 @@
| No | -Kode Item | +|||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No | +Kode Item | Nama Barang & Merek | -Kategori | +Kategori | Spesifikasi | -Satuan | -Stok | -Lokasi | -Status | -Aksi | +Satuan | +Stok | +Lokasi | +Status | +Aksi | |||
| {{ forloop.counter }} | -+ | {{ forloop.counter }} | +{{ item.item_code }} | -+ |
{{ item.name }}
@@ -172,33 +172,47 @@
Merek: {{ item.brand }} {% endif %} |
- - {{ item.get_category_display }} + | + {% if item.category == 'cable' %}Kabel (UTP & FO) + {% elif item.category == 'connector' %}Konektor & Barrel + {% elif item.category == 'maintenance' %}Bahan Perawatan + {% elif item.category == 'fastener' %}Baut, Mur & Ties + {% elif item.category == 'electrical' %}Kelistrikan & Isolasi + {% elif item.category == 'cleaning' %}Cleaning Supplies + {% elif item.category == 'tools_acc' %}Aksesori & Tools + {% else %}{{ item.get_category_display }} + {% endif %} | {{ item.specification|default:"-" }} | -+ | {{ item.base_unit }} | -- {{ item.formatted_stock }} - / - {{ item.minimum_stock|floatformat:0 }} + |
+
+ {{ item.formatted_stock }}
+
+
+ Min: {{ item.minimum_stock|floatformat:0 }} {{ item.base_unit }}
+
|
- - {{ item.location }} + |
+
+
+ {{ item.location }}
+
|
- + | {% if item.stock_status == 'out_of_stock' %} - Habis + Habis {% elif item.stock_status == 'low_stock' %} - Menipis + Menipis {% else %} - Aman + Aman {% endif %} | -+ |