From 9c3997438093e17d68de5b0b14bf5261e221902f Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Tue, 6 Feb 2018 09:07:40 +0100 Subject: [PATCH] added expenses to create item form --- client/item/src/create/item-create.html | 12 +++++++----- client/production/src/index/index.spec.js | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/client/item/src/create/item-create.html b/client/item/src/create/item-create.html index 1a489057d..d57806715 100644 --- a/client/item/src/create/item-create.html +++ b/client/item/src/create/item-create.html @@ -31,12 +31,10 @@ order="description ASC" filter-search="{where: {description: {regexp: 'search'}} }" > - {{$parent.$parent.item.description}} + {{$parent.$parent.item.description}} - - - + - diff --git a/client/production/src/index/index.spec.js b/client/production/src/index/index.spec.js index deb9eedaf..dc9f0d89b 100644 --- a/client/production/src/index/index.spec.js +++ b/client/production/src/index/index.spec.js @@ -26,7 +26,7 @@ describe('Production', () => { it('should request to update the ticket state', () => { let ids = [1, 2, 3, 4]; let stateId = 1; - let stateName = 'the state!'; + let stateName = 'state'; let index = []; controller.tickets = ['ticketVal']; $httpBackend.whenPUT('/production/api/TicketStates/1/changeState', {tickets: ids}).respond({data: 'ticketVal'});