Commit 507260c0 authored by prumde's avatar prumde

Added training/variants and reviewscreen component.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174487 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a270464a
......@@ -37,6 +37,7 @@ import { EcmOutingComponent } from './ecm-product-details/ecm-template/ecm-outin
import { EcmFoodComponent } from './ecm-product-details/ecm-template/ecm-food.component';
import { EcmHandicraftComponent } from './ecm-product-details/ecm-template/ecm-handicraft.component';
import { EcmCelebrationComponent } from './ecm-product-details/ecm-template/ecm-celebration.component';
import { EcmTrainingComponent } from './ecm-product-details/ecm-template/ecm-training.component';
import { EcmCategoryComponent } from './ecm-view/ecm-category/ecm-category.component';
import { EcmSubCategoryComponent } from './ecm-view/ecm-sub-category/ecm-sub-category.component';
......@@ -64,6 +65,7 @@ import { EcmSubCategoryService } from './ecm-view/ecm-sub-category/ecm-sub-categ
import { EcmProductService } from './ecm-view/ecm-product/ecm-product.service';
import { EcmProductDetailService } from './ecm-product-details/ecm-product-detail.service';
import { EcmLocationService } from './ecm-search/ecm-location.service';
import { Breadcrumbs } from './ecm-breadcrumbs/ecm-breadcrumbs.component';
import reducer from './ecm-store/reducers';
import {CartActions, CategoryActions, SubCategoryActions, ItemActions, LocationActions, WishListActions, MenuActions,ProfileActions, AdressAction, ReviewAction, SavedCardAction} from './ecm-store/actions';
......@@ -78,6 +80,8 @@ import { MyProfileComponent } from './my-profile/my-profile.component';
import { ChangePasswordComponent } from './change-password/change-password.component';
import { MaterialModule } from './module';
import { EcmOrderComponent } from './ecm-order/ecm-order.component';
import { EcmVariantsComponent } from './ecm-view/ecm-variants/ecm-variants.component';
//Changes by Prajyot
const appRoutes: Routes = [
......@@ -92,6 +96,7 @@ const appRoutes: Routes = [
{ path: 'cart', component: EcmCartComponent},
{ path: 'checkout', component: EcmCheckoutComponent},
{ path: 'wishlist', component: EcmWishListComponent},
{ path: 'myOrder', component: EcmOrderComponent},
{ path: 'myprofile', component: MyProfileComponent, children: [
{ path: 'userprofile', component: UserProfileComponent, outlet: 'profile' },
{ path: 'useraddress', component: UserAddressComponent, outlet: 'profile' },
......@@ -124,6 +129,7 @@ const appRoutes: Routes = [
EcmFoodComponent,
EcmHandicraftComponent,
EcmCelebrationComponent,
EcmTrainingComponent,
EcmCategoryComponent,
EcmSubCategoryComponent,
EcmProductComponent,
......@@ -155,7 +161,9 @@ const appRoutes: Routes = [
CardEditor,
CardScreenComponent,
ReviewEditor,
ReviewScreenComponent
ReviewScreenComponent,
EcmOrderComponent,
EcmVariantsComponent
],
imports: [
BrowserModule,
......@@ -204,13 +212,15 @@ const appRoutes: Routes = [
WishListActions,
MenuActions,
ProfileActions,
AdressAction, ReviewAction, SavedCardAction
AdressAction, ReviewAction, SavedCardAction,
Breadcrumbs
],
entryComponents: [
EcmOutingComponent,
EcmFoodComponent,
EcmHandicraftComponent,
EcmCelebrationComponent,
EcmTrainingComponent,
ECMConfirmDialog,
ECMWriteReviewDialog,
ECMDialog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment