penambahan page master status, duration use, role, user
This commit is contained in:
parent
066c40b78c
commit
6239e473b3
|
@ -79,7 +79,23 @@ export const MenuSettingsConfig: MenuConfig = {
|
||||||
{
|
{
|
||||||
title: 'Master Type',
|
title: 'Master Type',
|
||||||
page: '/master/master-type'
|
page: '/master/master-type'
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
title: 'Master Status',
|
||||||
|
page: '/master/master-status'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Master Duration Use',
|
||||||
|
page: '/master/master-duration-use'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Master User',
|
||||||
|
page: '/master/master-user'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Master Role',
|
||||||
|
page: '/master/master-role'
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<div class="card-dashboard">
|
<div class="card-dashboard">
|
||||||
<ngx-datatable
|
<ngx-datatable
|
||||||
class="bootstrap table-bordered"
|
class="bootstrap table-bordered"
|
||||||
[limit]="10"
|
[limit]="5"
|
||||||
[rows]="filteredRows"
|
[rows]="filteredRows"
|
||||||
[columnMode]="'force'"
|
[columnMode]="'force'"
|
||||||
[headerHeight]="50"
|
[headerHeight]="50"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<p>master-duration-use works!</p>
|
|
@ -0,0 +1,23 @@
|
||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { MasterDurationUseComponent } from './master-duration-use.component';
|
||||||
|
|
||||||
|
describe('MasterDurationUseComponent', () => {
|
||||||
|
let component: MasterDurationUseComponent;
|
||||||
|
let fixture: ComponentFixture<MasterDurationUseComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
declarations: [ MasterDurationUseComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(MasterDurationUseComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,10 @@
|
||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-master-duration-use',
|
||||||
|
templateUrl: './master-duration-use.component.html',
|
||||||
|
styleUrls: ['./master-duration-use.component.css']
|
||||||
|
})
|
||||||
|
export class MasterDurationUseComponent {
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<p>master-role works!</p>
|
|
@ -0,0 +1,23 @@
|
||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { MasterRoleComponent } from './master-role.component';
|
||||||
|
|
||||||
|
describe('MasterRoleComponent', () => {
|
||||||
|
let component: MasterRoleComponent;
|
||||||
|
let fixture: ComponentFixture<MasterRoleComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
declarations: [ MasterRoleComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(MasterRoleComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,10 @@
|
||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-master-role',
|
||||||
|
templateUrl: './master-role.component.html',
|
||||||
|
styleUrls: ['./master-role.component.css']
|
||||||
|
})
|
||||||
|
export class MasterRoleComponent {
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<p>master-status works!</p>
|
|
@ -0,0 +1,23 @@
|
||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { MasterStatusComponent } from './master-status.component';
|
||||||
|
|
||||||
|
describe('MasterStatusComponent', () => {
|
||||||
|
let component: MasterStatusComponent;
|
||||||
|
let fixture: ComponentFixture<MasterStatusComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
declarations: [ MasterStatusComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(MasterStatusComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,10 @@
|
||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-master-status',
|
||||||
|
templateUrl: './master-status.component.html',
|
||||||
|
styleUrls: ['./master-status.component.css']
|
||||||
|
})
|
||||||
|
export class MasterStatusComponent {
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<p>master-user works!</p>
|
|
@ -0,0 +1,23 @@
|
||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { MasterUserComponent } from './master-user.component';
|
||||||
|
|
||||||
|
describe('MasterUserComponent', () => {
|
||||||
|
let component: MasterUserComponent;
|
||||||
|
let fixture: ComponentFixture<MasterUserComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
declarations: [ MasterUserComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
|
||||||
|
fixture = TestBed.createComponent(MasterUserComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,10 @@
|
||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-master-user',
|
||||||
|
templateUrl: './master-user.component.html',
|
||||||
|
styleUrls: ['./master-user.component.css']
|
||||||
|
})
|
||||||
|
export class MasterUserComponent {
|
||||||
|
|
||||||
|
}
|
|
@ -17,6 +17,10 @@ import { BlockTemplateComponent } from 'src/app/_layout/blockui/block-template.c
|
||||||
import { CardModule } from '../../partials/general/card/card.module';
|
import { CardModule } from '../../partials/general/card/card.module';
|
||||||
import { MatchHeightModule } from '../../partials/general/match-height/match-height.module';
|
import { MatchHeightModule } from '../../partials/general/match-height/match-height.module';
|
||||||
import { BreadcrumbModule } from 'src/app/_layout/breadcrumb/breadcrumb.module';
|
import { BreadcrumbModule } from 'src/app/_layout/breadcrumb/breadcrumb.module';
|
||||||
|
import { MasterStatusComponent } from './master-status/master-status.component';
|
||||||
|
import { MasterDurationUseComponent } from './master-duration-use/master-duration-use.component';
|
||||||
|
import { MasterUserComponent } from './master-user/master-user.component';
|
||||||
|
import { MasterRoleComponent } from './master-role/master-role.component';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,7 +29,11 @@ import { BreadcrumbModule } from 'src/app/_layout/breadcrumb/breadcrumb.module';
|
||||||
MasterCategoryComponent,
|
MasterCategoryComponent,
|
||||||
MasterLocationComponent,
|
MasterLocationComponent,
|
||||||
MasterLocationRoomComponent,
|
MasterLocationRoomComponent,
|
||||||
MasterTypeComponent
|
MasterTypeComponent,
|
||||||
|
MasterStatusComponent,
|
||||||
|
MasterDurationUseComponent,
|
||||||
|
MasterUserComponent,
|
||||||
|
MasterRoleComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
@ -57,6 +65,22 @@ import { BreadcrumbModule } from 'src/app/_layout/breadcrumb/breadcrumb.module';
|
||||||
{
|
{
|
||||||
path: 'master-type',
|
path: 'master-type',
|
||||||
component: MasterTypeComponent
|
component: MasterTypeComponent
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'master-status',
|
||||||
|
component: MasterStatusComponent
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'master-duration-use',
|
||||||
|
component: MasterDurationUseComponent
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'master-user',
|
||||||
|
component: MasterUserComponent
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'master-role',
|
||||||
|
component: MasterRoleComponent
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue