IbrahimNour hace 1 año
padre
commit
489b382c42

+ 1 - 0
src/app/modules/orders/order-details/order-details.component.html

@@ -0,0 +1 @@
+<p>order-details works!</p>

+ 0 - 0
src/app/modules/orders/order-details/order-details.component.scss


+ 21 - 0
src/app/modules/orders/order-details/order-details.component.spec.ts

@@ -0,0 +1,21 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { OrderDetailsComponent } from './order-details.component';
+
+describe('OrderDetailsComponent', () => {
+  let component: OrderDetailsComponent;
+  let fixture: ComponentFixture<OrderDetailsComponent>;
+
+  beforeEach(() => {
+    TestBed.configureTestingModule({
+      declarations: [OrderDetailsComponent]
+    });
+    fixture = TestBed.createComponent(OrderDetailsComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 10 - 0
src/app/modules/orders/order-details/order-details.component.ts

@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-order-details',
+  templateUrl: './order-details.component.html',
+  styleUrls: ['./order-details.component.scss']
+})
+export class OrderDetailsComponent {
+
+}

+ 1 - 0
src/app/modules/orders/order-form/order-form.component.html

@@ -0,0 +1 @@
+<p>order-form works!</p>

+ 0 - 0
src/app/modules/orders/order-form/order-form.component.scss


+ 21 - 0
src/app/modules/orders/order-form/order-form.component.spec.ts

@@ -0,0 +1,21 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { OrderFormComponent } from './order-form.component';
+
+describe('OrderFormComponent', () => {
+  let component: OrderFormComponent;
+  let fixture: ComponentFixture<OrderFormComponent>;
+
+  beforeEach(() => {
+    TestBed.configureTestingModule({
+      declarations: [OrderFormComponent]
+    });
+    fixture = TestBed.createComponent(OrderFormComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 10 - 0
src/app/modules/orders/order-form/order-form.component.ts

@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-order-form',
+  templateUrl: './order-form.component.html',
+  styleUrls: ['./order-form.component.scss']
+})
+export class OrderFormComponent {
+
+}

+ 1 - 0
src/app/modules/orders/order-list/order-list.component.html

@@ -0,0 +1 @@
+<p>order-list works!</p>

+ 0 - 0
src/app/modules/orders/order-list/order-list.component.scss


+ 21 - 0
src/app/modules/orders/order-list/order-list.component.spec.ts

@@ -0,0 +1,21 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { OrderListComponent } from './order-list.component';
+
+describe('OrderListComponent', () => {
+  let component: OrderListComponent;
+  let fixture: ComponentFixture<OrderListComponent>;
+
+  beforeEach(() => {
+    TestBed.configureTestingModule({
+      declarations: [OrderListComponent]
+    });
+    fixture = TestBed.createComponent(OrderListComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 10 - 0
src/app/modules/orders/order-list/order-list.component.ts

@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-order-list',
+  templateUrl: './order-list.component.html',
+  styleUrls: ['./order-list.component.scss']
+})
+export class OrderListComponent {
+
+}

+ 10 - 0
src/app/modules/orders/orders-routing.module.ts

@@ -0,0 +1,10 @@
+import { NgModule } from '@angular/core';
+import { RouterModule, Routes } from '@angular/router';
+
+const routes: Routes = [];
+
+@NgModule({
+  imports: [RouterModule.forChild(routes)],
+  exports: [RouterModule]
+})
+export class OrdersRoutingModule { }

+ 1 - 0
src/app/modules/orders/orders.component.html

@@ -0,0 +1 @@
+<p>orders works!</p>

+ 0 - 0
src/app/modules/orders/orders.component.scss


+ 21 - 0
src/app/modules/orders/orders.component.spec.ts

@@ -0,0 +1,21 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { OrdersComponent } from './orders.component';
+
+describe('OrdersComponent', () => {
+  let component: OrdersComponent;
+  let fixture: ComponentFixture<OrdersComponent>;
+
+  beforeEach(() => {
+    TestBed.configureTestingModule({
+      declarations: [OrdersComponent]
+    });
+    fixture = TestBed.createComponent(OrdersComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 10 - 0
src/app/modules/orders/orders.component.ts

@@ -0,0 +1,10 @@
+import { Component } from '@angular/core';
+
+@Component({
+  selector: 'app-orders',
+  templateUrl: './orders.component.html',
+  styleUrls: ['./orders.component.scss']
+})
+export class OrdersComponent {
+
+}

+ 23 - 0
src/app/modules/orders/orders.module.ts

@@ -0,0 +1,23 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+
+import { OrdersRoutingModule } from './orders-routing.module';
+import { OrdersComponent } from './orders.component';
+import { OrderListComponent } from './order-list/order-list.component';
+import { OrderFormComponent } from './order-form/order-form.component';
+import { OrderDetailsComponent } from './order-details/order-details.component';
+
+
+@NgModule({
+  declarations: [
+    OrdersComponent,
+    OrderListComponent,
+    OrderFormComponent,
+    OrderDetailsComponent
+  ],
+  imports: [
+    CommonModule,
+    OrdersRoutingModule
+  ]
+})
+export class OrdersModule { }