diff --git a/modules/entry/front/buy/index.html b/modules/entry/front/buy/index.html
index af9eae30c..8b1378917 100644
--- a/modules/entry/front/buy/index.html
+++ b/modules/entry/front/buy/index.html
@@ -1,68 +1 @@
-
- Entry #{{$ctrl.entryData.id}} - {{$ctrl.entryData.supplier.nickname}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/modules/entry/front/buy/index.js b/modules/entry/front/buy/index.js
index 36e353229..bc8788239 100644
--- a/modules/entry/front/buy/index.js
+++ b/modules/entry/front/buy/index.js
@@ -5,23 +5,6 @@ class Controller extends Component {
constructor($element, $) {
super($element, $);
}
-
- get entry() {
- return this._entry;
- }
-
- set entry(value) {
- this._entry = value;
-
- if (value && value.id)
- this.getEntryData();
- }
-
- getEntryData() {
- return this.$http.get(`/api/Entries/${this.entry.id}/getEntry`).then(response => {
- this.entryData = response.data;
- });
- }
}
Controller.$inject = ['$element', '$scope'];
diff --git a/modules/entry/front/routes.json b/modules/entry/front/routes.json
index 3dff61641..084ff7bb2 100644
--- a/modules/entry/front/routes.json
+++ b/modules/entry/front/routes.json
@@ -9,8 +9,8 @@
{"state": "entry.index", "icon": "icon-entry"}
],
"card": [
- {"state": "entry.card.log", "icon": "history"},
- {"state": "entry.card.buy", "icon": "icon-lines"}
+ {"state": "entry.card.buy", "icon": "icon-lines"},
+ {"state": "entry.card.log", "icon": "history"}
]
},
"routes": [