/**
* Compare method
- * @param category Category to compare to
+ * @param product Product to compare to
* @return Comparison value
*/
@Override
- public int compareTo (final Product category);
+ public int compareTo (final Product product);
}
<td>
<%=product.getPrice()%>
</td>
- <td>
+ <td align="right">
<%=app.getTotalPositionPriceFromRequestSession(product, request, session)%>
</td>
</tr>
<%
}
- float totalPrice = app.calculateTotalPrice(request, session);
%>
<tr>
<td id="table_total_amount_left">
<td id="table_total_amount_right">
<%=app.calculateTotalAmount(request, session)%>
</td>
- <td class="spacer">
+ <td>
</td>
<td id="table_total_sum_left">
Gesamtpreis:
</td>
- <td id="table_total_sum_right">
- <%=totalPrice%>
+ <td id="table_total_sum_right" align="right">
+ <%=app.calculateTotalPrice(request, session)%>
</td>
</tr>
<td>
<%=product.getTitle()%>
</td>
- <td>
- <%=product.getPrice()%>
+ <td align="right">
+ <fmt:formatNumber type="currency"><%=product.getPrice()%></fmt:formatNumber>
</td>
</tr>
<%
<td>
<%=product.getPrice()%>
</td>
- <td>
+ <td align="right">
<%=app.getTotalPositionPriceFromRequestSession(product, request, session)%>
</td>
</tr>
<td id="table_total_amount_right">
<%=app.calculateTotalAmount(request, session)%>
</td>
- <td class="spacer">
+ <td>
</td>
<td id="table_total_sum_left">
Gesamtpreis:
</td>
- <td id="table_total_sum_right">
+ <td id="table_total_sum_right" align="right">
<%=app.calculateTotalPrice(request, session)%>
</td>
</tr>