From f90cd0da3eda7c1723ce4de439f64334c81db712 Mon Sep 17 00:00:00 2001
From: Pacien TRAN-GIRARD
Date: Sun, 8 Feb 2015 17:06:58 +0100
Subject: Implement account summary page
---
app/views/pages/accountSummary.scala.html | 89 +++++++++++++++++++++++++++++++
1 file changed, 89 insertions(+)
create mode 100644 app/views/pages/accountSummary.scala.html
(limited to 'app/views/pages')
diff --git a/app/views/pages/accountSummary.scala.html b/app/views/pages/accountSummary.scala.html
new file mode 100644
index 0000000..3a10d3d
--- /dev/null
+++ b/app/views/pages/accountSummary.scala.html
@@ -0,0 +1,89 @@
+@(transactions: Seq[Tables.Transaction])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.pepal("Account summary")(request.account) {
+
+
+ @fragments.pepalMainActions()
+
+
+
+
+
+
+
+
My wallet
+
+
+
+
+ Account summary |
+
+
+
+
+
+ Balance |
+ @request.account.get.balance € |
+
+
+
+ Available funds |
+ @request.account.get.equity € |
+
+
+
+
+
+
+
+
+
+
+
+
+
Transaction history
+
+
+
+
+
+ Date |
+ Amount |
+ Label |
+
+
+
+
+ @for(transaction <- transactions) {
+
+ @transaction.transactionDate |
+ @transaction.amount
+ € |
+ @transaction.label |
+
+ }
+
+
+
+
+
+
+
+
+}
--
cgit v1.2.3