Commit 2755e263 by Tuukka Kivilahti

nothing yetQ

1 parent 8549e634
...@@ -55,6 +55,12 @@ ...@@ -55,6 +55,12 @@
<f:convertNumber maxFractionDigits="2" minFractionDigits="2" /> <f:convertNumber maxFractionDigits="2" minFractionDigits="2" />
</h:outputText> </h:outputText>
</p:column> </p:column>
<p:column headerText="#{i18n['shop.sellPrice']}">
<h:outputText value="#{prods.creditPrice}">
<f:convertNumber maxFractionDigits="2" minFractionDigits="2" />
</h:outputText>
</p:column>
<p:column headerText="#{i18n['shop.totalPrice']}"> <p:column headerText="#{i18n['shop.totalPrice']}">
<h:outputText value="#{prods.price}"> <h:outputText value="#{prods.price}">
<f:convertNumber maxFractionDigits="2" minFractionDigits="2" /> <f:convertNumber maxFractionDigits="2" minFractionDigits="2" />
......
...@@ -144,7 +144,7 @@ public class ProductShopItem { ...@@ -144,7 +144,7 @@ public class ProductShopItem {
public void setId(Integer setid) { public void setId(Integer setid) {
logger.info("Setting id {} to cart {}", setid, id); logger.info("Setting id {} to cart {}", setid, id);
if (!id.equals(setid)) { if (!id.equals(setid)) {
throw new RuntimeException("Carts mixed up! Please raport an error to coders! "); throw new RuntimeException("Carts mixed up! Please report an error to coders! ");
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!