Map changed and made available to customers
This commit is contained in:
parent
8f725b93af
commit
3009365682
3 changed files with 4 additions and 4 deletions
|
@ -50,6 +50,7 @@ const routes: Routes = [
|
||||||
path: 'leaderboard',
|
path: 'leaderboard',
|
||||||
component: LeaderboardComponent,
|
component: LeaderboardComponent,
|
||||||
data: { title: 'Leaderboards' },
|
data: { title: 'Leaderboards' },
|
||||||
|
canActivate: [CustomerGuard],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'transaction-log',
|
path: 'transaction-log',
|
||||||
|
@ -59,8 +60,7 @@ const routes: Routes = [
|
||||||
{
|
{
|
||||||
path: 'map',
|
path: 'map',
|
||||||
component: MapComponent,
|
component: MapComponent,
|
||||||
data: { title: 'Supplier Map' },
|
data: { title: 'Purchase Map' },
|
||||||
canActivate: [OrgGuard],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'payroll-log',
|
path: 'payroll-log',
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<strong>Supplier Map</strong>
|
<strong>Purchase Map</strong>
|
||||||
<small>Required Data marked in <strong>bold</strong>.</small>
|
<small>Required Data marked in <strong>bold</strong>.</small>
|
||||||
</div>
|
</div>
|
||||||
<div [ngSwitch]="dataReceived">
|
<div [ngSwitch]="dataReceived">
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" routerLinkActive="active" [routerLink]="['/map']">
|
<a class="nav-link" routerLinkActive="active" [routerLink]="['/map']">
|
||||||
<i class="icon-map"></i> Supplier Map
|
<i class="icon-map"></i> Purchase Map
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li *ngIf="accountType == 'customer'" class="nav-item">
|
<li *ngIf="accountType == 'customer'" class="nav-item">
|
||||||
|
|
Reference in a new issue