There was an error while loading. Please reload this page.
1 parent a6a0a34 commit b0cd7e8Copy full SHA for b0cd7e8
1 file changed
htdocs/product/composition/card.php
@@ -815,7 +815,7 @@
815
print '<td></td><td></td><td></td>';
816
print '<td colspan="' . ($colspan_counter) . '" class="titlefield">' . $langs->trans("PotentialKitsFromStock") . '</td>';
817
// Calculate the value to display. If $potential_kit_stock is null or 0, show 0.
818
- $stock_to_display = ($potential_kit_stock !== null && $potential_kit_stock > 0) ? $potential_kit_stock : 0;
+ $stock_to_display = $potential_kit_stock;
819
print '<td class="total-value">' . price($stock_to_display) . '</td>';
820
print '</tr>';
821
print '<td class="liste_total right"> </td>';
0 commit comments