diff --git a/src/components/baruser/CreditLists.vue b/src/components/baruser/CreditLists.vue
index 13c6980..795ee0a 100644
--- a/src/components/baruser/CreditLists.vue
+++ b/src/components/baruser/CreditLists.vue
@@ -1,55 +1,90 @@
-
-
-
-
-
- Col 1
-
-
-
-
-
-
- Col 2.1.1
-
-
-
-
- Col 2.1.2
-
-
-
-
-
- Col 2.2.1
-
-
- Col 2.2.2
-
-
-
-
- Col 2.3.1
-
-
- Col 2.3.2
-
-
-
- Col 3
-
-
-
+
+
+
+
+ {{user.firstname}} {{user.lastname}}
+
+
+
+
+
+
+
+ 2 €
+
+
+
+
+ 1 €
+
+
+
+
+
+
+
+
+ 0,50 €
+
+
+
+
+ 0,40 €
+
+
+
+
+
+
+
+
+ 0,20 €
+
+
+
+
+ 0,10 €
+
+
+
+
+
+
+
+
+
+ {{(user.amount/100).toFixed(2)}} €
+
+
+
+
+
+
+
+
diff --git a/src/plugins/restService.js b/src/plugins/restService.js
index f66b65e..15a1e01 100644
--- a/src/plugins/restService.js
+++ b/src/plugins/restService.js
@@ -11,6 +11,12 @@ class Service {
login(loginData) {
return axios.post(this.url+'login', {...loginData})
}
+ getUserBar(token) {
+ return axios.get(this.url+'bar', {headers: {Token: token}})
+ }
+ addAmountBar(token, data) {
+ return axios.post(this.url+'baradd', ...data, {headers: {Token: token}})
+ }
}
const httpClient = new Service("http://192.168.5.118:5000/")
diff --git a/src/views/BarView.vue b/src/views/BarView.vue
index deb8c9b..a9cf34c 100644
--- a/src/views/BarView.vue
+++ b/src/views/BarView.vue
@@ -1,33 +1,61 @@
-
+