Przeglądaj źródła

edit people before go to reward.

tags/2.037
Patrick Sun 4 lat temu
rodzic
commit
ad81b09c53
4 zmienionych plików z 45 dodań i 0 usunięć
  1. +3
    -0
      src/app/loan-edit-people/loan-edit-people.component.html
  2. +0
    -0
      src/app/loan-edit-people/loan-edit-people.component.scss
  3. +25
    -0
      src/app/loan-edit-people/loan-edit-people.component.spec.ts
  4. +17
    -0
      src/app/loan-edit-people/loan-edit-people.component.ts

+ 3
- 0
src/app/loan-edit-people/loan-edit-people.component.html Wyświetl plik

@@ -0,0 +1,3 @@
<p>loan-edit-people works!</p>

{{Loan.Id}}

+ 0
- 0
src/app/loan-edit-people/loan-edit-people.component.scss Wyświetl plik


+ 25
- 0
src/app/loan-edit-people/loan-edit-people.component.spec.ts Wyświetl plik

@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { LoanEditPeopleComponent } from './loan-edit-people.component';

describe('LoanEditPeopleComponent', () => {
let component: LoanEditPeopleComponent;
let fixture: ComponentFixture<LoanEditPeopleComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ LoanEditPeopleComponent ]
})
.compileComponents();
});

beforeEach(() => {
fixture = TestBed.createComponent(LoanEditPeopleComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});

+ 17
- 0
src/app/loan-edit-people/loan-edit-people.component.ts Wyświetl plik

@@ -0,0 +1,17 @@
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
import {LoanModel} from '../models/loan.model';

@Component({
selector: 'app-loan-edit-people',
templateUrl: './loan-edit-people.component.html',
styleUrls: ['./loan-edit-people.component.scss']
})
export class LoanEditPeopleComponent implements OnInit {
@Input() public Loan: LoanModel;
@Output() public NotifyNext = new EventEmitter<number>();
constructor() { }

ngOnInit(): void {
}

}

Ładowanie…
Anuluj
Zapisz