fixed bugs on greuge
This commit is contained in:
parent
9b8ee8b787
commit
c512faf45c
|
@ -5,7 +5,7 @@ class Controller {
|
|||
this.$ = $scope;
|
||||
this.$state = $state;
|
||||
this.greuge = {
|
||||
shipped: $filter('date')(new Date(), 'yyyy-MM-dd HH:mm')
|
||||
shipped: new Date()
|
||||
};
|
||||
}
|
||||
onSubmit() {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<vn-horizontal
|
||||
class="list list-element text-center"
|
||||
pad-small-bottom
|
||||
ng-repeat="greuge in index.model.instances track by $index">
|
||||
ng-repeat="greuge in index.model.instances track by greuge.id">
|
||||
<vn-one pad-medium-h>{{::greuge.shipped | date:'dd/MM/yyyy HH:mm' }}</vn-one>
|
||||
<vn-two pad-medium-h>{{::greuge.description}}</vn-two>
|
||||
<vn-one pad-medium-h>{{::greuge.amount | number:2}} €</vn-one>
|
||||
|
|
Loading…
Reference in New Issue