diff --git a/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.js b/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.js index 57587245fd..1994b1d90c 100644 --- a/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.js +++ b/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.js @@ -11,12 +11,6 @@ angular.module('inventoryProductList', ['ui.router']) controllerAs: 'self' }) - .state('updateProduct', { - parent: 'app', - url: '/inventory/:inventoryId/products/:productId', - template: '' - } - ) .state('deleteProduct', { parent: 'app', url: '/inventory/:inventoryId/products/:productId', diff --git a/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.template.html b/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.template.html index 7dbfcb4b6d..e7a43acb4d 100644 --- a/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.template.html +++ b/api-gateway/src/main/resources/static/scripts/inventory-product-list/inventory-product-list.template.html @@ -74,10 +74,7 @@

Inventory Products

- - - - + Delete diff --git a/api-gateway/src/main/resources/static/scripts/product-details/product-details.component.js b/api-gateway/src/main/resources/static/scripts/product-details/product-details.component.js deleted file mode 100644 index f9e7ae5e7a..0000000000 --- a/api-gateway/src/main/resources/static/scripts/product-details/product-details.component.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -angular.module('productDetails') - .component('productDetails', { - templateUrl: 'scripts/product-details/product-details.template.html', - controller: 'ProductDetailsController' - }); diff --git a/api-gateway/src/main/resources/static/scripts/product-details/product-details.controller.js b/api-gateway/src/main/resources/static/scripts/product-details/product-details.controller.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/api-gateway/src/main/resources/static/scripts/product-details/product-details.js b/api-gateway/src/main/resources/static/scripts/product-details/product-details.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/api-gateway/src/main/resources/static/scripts/product-details/product-details.template.html b/api-gateway/src/main/resources/static/scripts/product-details/product-details.template.html deleted file mode 100644 index e1d6db055f..0000000000 --- a/api-gateway/src/main/resources/static/scripts/product-details/product-details.template.html +++ /dev/null @@ -1,80 +0,0 @@ - - - -

Product Details

-
-
-
-
-
-

Inventory Id:

-
-
-

{{$ctrl.product.inventoryId}}

-
-
-
-
-
-

Product Id:

-
-
-

{{$ctrl.product.productId}}

-
-
-
-
-
-
Product Description:
-
-
-
{{$ctrl.product.productDescription}}
-
-
-
-
-
-
Product Price:
-
-
-
{{$ctrl.product.productPrice}}
-
- - - -
-
-
-
-
Product SalePrice:
-
-
-
{{$ctrl.product.productSalePrice}}
-
- -
- -
-
-
-
Product Quantity:
-
-
-
{{$ctrl.product.productQuantity}}
-
-
-
-
-
-
- - Back to Products page - -
-
- - - - -