diff --git a/client/ticket/src/request/create/index.js b/client/ticket/src/request/create/index.js index 36b92021c..b8a6d8b30 100644 --- a/client/ticket/src/request/create/index.js +++ b/client/ticket/src/request/create/index.js @@ -12,7 +12,7 @@ class Controller { onSubmit() { this.$.watcher.submit().then( - json => this.$state.go('ticket.card.request.index', {id: json.data.id}) + json => this.$state.go('ticket.card.request.index', {id: $state.params.id}) ); } } diff --git a/client/ticket/src/request/index/index.html b/client/ticket/src/request/index/index.html index a428398fd..48e6b1c62 100644 --- a/client/ticket/src/request/index/index.html +++ b/client/ticket/src/request/index/index.html @@ -20,10 +20,10 @@ Id - Description + Description Created - Requester - Atender + Requester + Atender Quantity Price Sale id @@ -33,10 +33,10 @@ {{::request.id}} - {{::request.description}} + {{::request.description}} {{::request.created | dateTime: 'dd/MM/yyyy'}} - {{::request.requester.firstName}} {{::request.requester.name}} - {{::request.atender.firstName}} {{::request.atender.name}} + {{::request.requester.firstName}} {{::request.requester.name}} + {{::request.atender.firstName}} {{::request.atender.name}} {{::request.quantity}} {{::request.price}}