feat: add checker inbox and tasks (#1218)
- add checker inbox - add client approval - add loan disbursal - add loan approval - add reschedule loan Fixes: #252, #1217
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<div class="container">
|
||||
|
||||
<mat-card class="tasks-card">
|
||||
|
||||
<mat-card-content>
|
||||
|
||||
<nav mat-tab-nav-bar class="navigation-tabs">
|
||||
<a mat-tab-link [routerLink]="['./checker-inbox']" routerLinkActive #checkerInbox="routerLinkActive"
|
||||
[active]="checkerInbox.isActive" *mifosxHasPermission="'ALL_FUNCTIONS_READ'">
|
||||
Checker Inbox
|
||||
</a>
|
||||
<a mat-tab-link [routerLink]="['./client-approval']" routerLinkActive #clientApproval="routerLinkActive"
|
||||
[active]="clientApproval.isActive" *mifosxHasPermission="'READ_CLIENT'">
|
||||
Client Approval
|
||||
</a>
|
||||
<a mat-tab-link [routerLink]="['./loan-approval']" routerLinkActive #loanApproval="routerLinkActive"
|
||||
[active]="loanApproval.isActive" *mifosxHasPermission="'READ_LOAN'">
|
||||
Loan Approval
|
||||
</a>
|
||||
<a mat-tab-link [routerLink]="['./loan-disbursal']" routerLinkActive #loanDisbursal="routerLinkActive"
|
||||
[active]="loanDisbursal.isActive" *mifosxHasPermission="'READ_LOAN'">
|
||||
Loan Disbursal
|
||||
</a>
|
||||
<a mat-tab-link [routerLink]="['./reschedule-loan']" routerLinkActive #rescheduleLoan="routerLinkActive"
|
||||
[active]="rescheduleLoan.isActive" *mifosxHasPermission="'RESCHEDULE_LOAN'">
|
||||
Reschedule Loan
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<router-outlet></router-outlet>
|
||||
|
||||
</mat-card-content>
|
||||
|
||||
</mat-card>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CheckerInboxAndTasksComponent } from './checker-inbox-and-tasks.component';
|
||||
|
||||
describe('CheckerInboxAndTasksComponent', () => {
|
||||
let component: CheckerInboxAndTasksComponent;
|
||||
let fixture: ComponentFixture<CheckerInboxAndTasksComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ CheckerInboxAndTasksComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CheckerInboxAndTasksComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,16 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Checker Inbox and Tasks Component
|
||||
*/
|
||||
@Component({
|
||||
selector: 'mifosx-checker-inbox-and-tasks',
|
||||
templateUrl: './checker-inbox-and-tasks.component.html',
|
||||
styleUrls: ['./checker-inbox-and-tasks.component.scss']
|
||||
})
|
||||
export class CheckerInboxAndTasksComponent {
|
||||
|
||||
constructor() { }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user