Commit 9c0ca0e0 by Muhammad Usman

work history view added for job

parent 9b4dd3b1
...@@ -128,7 +128,7 @@ export class JobDetailsComponent extends JobBaseComponent implements OnInit { ...@@ -128,7 +128,7 @@ export class JobDetailsComponent extends JobBaseComponent implements OnInit {
this.router.navigate([`my-career-web/jobs`]); this.router.navigate([`my-career-web/jobs`]);
} else { } else {
if (this.selectedProfileType === 'customize' || this.isEditMode) { if (this.selectedProfileType === 'customize' || this.isEditMode) {
console.log('REDIRECT PERSONAL'); this.router.navigate([`/my-career-web/jobs/${this.applicantJobId}/personal-details`]);
} else if (this.selectedProfileType === 'same') { } else if (this.selectedProfileType === 'same') {
console.log('REDIRECT TO LETTER'); console.log('REDIRECT TO LETTER');
} }
......
<p> <div class="mc-page">
job-work-history works!
</p> <app-mc-page-header>
</app-mc-page-header>
<div class="mc-page-body container">
<div class="mc-page-body-heading" style="margin-bottom: 16px;">Career Profile for {{applicantJob?.JobTitle}} at {{applicantJob?.Employer}} </div>
<div class="mc-card position-relative">
<app-overlay [isActive]="isLoading"></app-overlay>
<div class="d-flex justify-content-between mt-3">
<button pButton label="Save and Exit" class="mc-btn-secondary" (click)="next('exit')">
</button>
<button pButton [label]="completedView ? 'Done' : 'Proceed to work history'" class="mc-btn-primary" (click)="next('proceed')">
</button>
</div>
</div>
</div>
</div>
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { UtilsService } from '../../../../oneit/services/utils.service';
import { JobBaseComponent } from '../../../base/job-base.component';
import { JobService } from '../../../services/job.service';
@Component({ @Component({
selector: 'app-job-work-history', selector: 'app-job-work-history',
templateUrl: './job-work-history.component.html', templateUrl: './job-work-history.component.html',
styleUrls: ['./job-work-history.component.scss'] styleUrls: ['./job-work-history.component.scss']
}) })
export class JobWorkHistoryComponent implements OnInit { export class JobWorkHistoryComponent extends JobBaseComponent implements OnInit {
constructor() { } constructor(
activatedRoute: ActivatedRoute,
jobService: JobService,
utilsService: UtilsService
) {
super(activatedRoute, jobService, utilsService);
}
ngOnInit() { ngOnInit() {
super.ngOnInit();
}
jobLoaded(): void {
//
} }
} }
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