@(sales: Seq[Views.Sale])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token) @templates.ebe("Sales")(request.account) {
@fragments.ebeMainActions()

Current sales

@for(sale <- sales) { }
End date Item Current price
@sale.endDate.get @sale.itemName @if(sale.bestOffer.isDefined) {@sale.bestOffer} else {@sale.initialPrice} €
}