cost/price/margin
This commit is contained in:
@@ -254,7 +254,12 @@
|
||||
</td>
|
||||
<td class="py-3 text-secondary">${item.product_sku}</td>
|
||||
<td class="py-3">${item.warehouse_name}</td>
|
||||
<td class="py-3 ${balance_cls}">${item.balance} <span class="text-muted fw-normal small">${item.uom || 'pcs'}</span></td>
|
||||
<td class="py-3 ${balance_cls}">
|
||||
${item.balance} <span class="text-muted fw-normal small">${item.uom || 'pcs'}</span>
|
||||
${item.cost_price > 0
|
||||
? `<div class="text-muted small fw-normal">Value: ${format_number(item.balance * item.cost_price, 2)}</div>`
|
||||
: ''}
|
||||
</td>
|
||||
<td class="py-3">${item.min_stock}</td>
|
||||
<td class="py-3">${item.reorder_point}</td>
|
||||
<td class="py-3">${badge}</td>
|
||||
@@ -308,4 +313,4 @@
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user