diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 0d0bdac..b9348ce 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -8,6 +8,7 @@ import { InvoiceComponent } from './invoice/invoice.component'; import { ListOrdersComponent } from './listorders/listorders.component'; import { AuthGuardService } from './auth-guard.service'; import { NodeResolverService } from './node-resolver.service'; +import { PmtserviceComponent } from './pmtservice/pmtservice.component'; const routes: Routes = [ { path: '', component: LoginComponent, resolve: { response: NodeResolverService} }, @@ -17,6 +18,7 @@ const routes: Routes = [ { path: 'biz', component: BusinessComponent, canActivate: [AuthGuardService]}, { path: 'receipt/:orderId', component: ReceiptComponent}, { path: 'invoice/:orderId', component: InvoiceComponent}, + { path: 'pmtservice', component: PmtserviceComponent}, { path: 'login', component: LoginComponent, resolve: { response: NodeResolverService}} ]; diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 9183d10..d8373c9 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -45,6 +45,7 @@ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; import { PromptInvoiceComponent } from './prompt-invoice/prompt-invoice.component'; import { PromptReceiptComponent } from './prompt-receipt/prompt-receipt.component'; import { NotifierComponent } from './notifier/notifier.component'; +import { PmtserviceComponent } from './pmtservice/pmtservice.component'; @NgModule({ declarations: [ @@ -71,7 +72,8 @@ import { NotifierComponent } from './notifier/notifier.component'; InvoiceComponent, PromptInvoiceComponent, PromptReceiptComponent, - NotifierComponent + NotifierComponent, + PmtserviceComponent ], imports: [ BrowserModule, diff --git a/src/app/pmtservice/pmtservice.component.css b/src/app/pmtservice/pmtservice.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pmtservice/pmtservice.component.html b/src/app/pmtservice/pmtservice.component.html new file mode 100644 index 0000000..d7bbf3a --- /dev/null +++ b/src/app/pmtservice/pmtservice.component.html @@ -0,0 +1 @@ +
{{ pmtData.ownerId }}
diff --git a/src/app/pmtservice/pmtservice.component.spec.ts b/src/app/pmtservice/pmtservice.component.spec.ts new file mode 100644 index 0000000..8b1c67b --- /dev/null +++ b/src/app/pmtservice/pmtservice.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PmtserviceComponent } from './pmtservice.component'; + +describe('PmtserviceComponent', () => { + let component: PmtserviceComponent; + let fixture: ComponentFixture