diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84ec5f1..83a368e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
# Next Release
+* Payroll Log Data added
* Fixed register box view on login page
* Made the form reset properly if adding a new one
* Added better error messages on register and account edit
diff --git a/src/app/dashboard/add-data.component.html b/src/app/dashboard/add-data.component.html
index 91e8e42..3a78b96 100644
--- a/src/app/dashboard/add-data.component.html
+++ b/src/app/dashboard/add-data.component.html
@@ -72,7 +72,7 @@
-
+
Profile & Payroll Data
Required Data marked in bold.
diff --git a/src/app/dashboard/dashboard.module.ts b/src/app/dashboard/dashboard.module.ts
index 55bb110..134d8bd 100644
--- a/src/app/dashboard/dashboard.module.ts
+++ b/src/app/dashboard/dashboard.module.ts
@@ -13,6 +13,7 @@ import { AccountEditComponent } from './account-edit.component';
import { AddDataComponent } from './add-data.component';
import { FeedbackComponent } from './feedback.component';
import { TransactionLogComponent } from './transaction-log.component';
+import { PayrollLogComponent } from './payroll-log.component';
import { GraphWidget } from '../widgets/graph-widget.component';
import { OrgBarSnippetComponent } from '../snippets/org-snippet-bar.component';
@@ -22,6 +23,7 @@ import { DashboardRoutingModule } from './dashboard.routing';
import { OrgResultComponent } from '../shared/org-result.component';
import { OrgTableComponent } from '../shared/org-table.component';
import { TransactionResultComponent } from '../shared/transaction-result.component';
+import { PayrollResultComponent } from '../shared/payroll-result.component';
@NgModule({
imports: [
@@ -43,6 +45,8 @@ import { TransactionResultComponent } from '../shared/transaction-result.compone
OrgTableComponent,
TransactionLogComponent,
TransactionResultComponent,
+ PayrollLogComponent,
+ PayrollResultComponent,
FeedbackComponent,
GraphWidget,
OrgBarSnippetComponent,
diff --git a/src/app/dashboard/dashboard.routing.ts b/src/app/dashboard/dashboard.routing.ts
index acb81b7..c36cfb2 100644
--- a/src/app/dashboard/dashboard.routing.ts
+++ b/src/app/dashboard/dashboard.routing.ts
@@ -12,6 +12,7 @@ import { AccountEditComponent } from './account-edit.component';
import { AddDataComponent } from './add-data.component';
import { FeedbackComponent } from './feedback.component';
import { TransactionLogComponent } from './transaction-log.component';
+import { PayrollLogComponent } from './payroll-log.component';
// Using child path to allow for FullLayout theming
const routes: Routes = [
@@ -48,6 +49,12 @@ const routes: Routes = [
component: TransactionLogComponent,
data: { title: 'Transaction Log' },
},
+ {
+ path: 'payroll-log',
+ component: PayrollLogComponent,
+ data: { title: 'Payroll Log' },
+ canActivate: [OrgGuard],
+ },
{
path: 'feedback',
component: FeedbackComponent,
diff --git a/src/app/dashboard/payroll-log.component.html b/src/app/dashboard/payroll-log.component.html
new file mode 100644
index 0000000..0b08ed8
--- /dev/null
+++ b/src/app/dashboard/payroll-log.component.html
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Log of Payroll submissions
+ Sorted descending from submission date.
+