diff options
author | Pacien TRAN-GIRARD | 2015-02-08 22:31:17 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-02-08 22:31:17 +0100 |
commit | 330d7a719800cded4385c633370f782571891f49 (patch) | |
tree | c231da0bec9cf7c70adf6ccd1e9dc6b58d1b0e2d /app/views/pages/sales/currentSales.scala.html | |
parent | 1ec4626a01da4e21b7e654cb0b6df2f52f6c5d91 (diff) | |
download | minibay-330d7a719800cded4385c633370f782571891f49.tar.gz |
Implement sell action
Diffstat (limited to 'app/views/pages/sales/currentSales.scala.html')
-rw-r--r-- | app/views/pages/sales/currentSales.scala.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/pages/sales/currentSales.scala.html b/app/views/pages/sales/currentSales.scala.html index 30cea78..bb1851c 100644 --- a/app/views/pages/sales/currentSales.scala.html +++ b/app/views/pages/sales/currentSales.scala.html | |||
@@ -26,9 +26,9 @@ | |||
26 | <tbody> | 26 | <tbody> |
27 | @for(sale <- sales) { | 27 | @for(sale <- sales) { |
28 | <tr> | 28 | <tr> |
29 | <td>@sale.endDate</td> | 29 | <td>@sale.endDate.get</td> |
30 | <td><a href="@routes.Sale.item(sale.itemUuid.get)">@sale.itemName</a></td> | 30 | <td><a href="@routes.Sale.item(sale.itemUuid.get)">@sale.itemName</a></td> |
31 | <td>@if(sale.bestOffer.isDefined) {@sale.bestOffer} else {sale.initialPrice} €</td> | 31 | <td>@if(sale.bestOffer.isDefined) {@sale.bestOffer} else {@sale.initialPrice} €</td> |
32 | </tr> | 32 | </tr> |
33 | } | 33 | } |
34 | </tbody> | 34 | </tbody> |