mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
fix: stock availability not showing (#38382)
fix: stock availability now showing
This commit is contained in:
@@ -139,6 +139,12 @@ erpnext.ProductList = class {
|
||||
<br>
|
||||
<span class="out-of-stock mt-2">${ __("Out of stock") }</span>
|
||||
`;
|
||||
} else if (item.is_stock) {
|
||||
return `
|
||||
<br>
|
||||
<span class="in-stock in-green has-stock mt-2"
|
||||
style="font-size: 14px;">${ __("In stock") }</span>
|
||||
`;
|
||||
}
|
||||
}
|
||||
return ``;
|
||||
|
||||
Reference in New Issue
Block a user