diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d960aeb65..f0cc282d2 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -91,10 +91,10 @@ import { EmployeeApprovalsComponent } from './components/hris/employees/employee import { TopNavComponent } from './components/hris/nav-bar/types/top-nav/top-nav.component'; import { SideNavComponent } from './components/hris/nav-bar/types/side-nav/side-nav.component'; import { CareerSummaryQualificationsComponent } from './components/hris/employees/employee-profile/accordions/accordion-career-summary/accordion-career-summary-qualifications/accordion-career-summary-qualifications.component'; -import { AccordionEmployeeDocumentsComponent } from './components/hris/employees/employee-profile/accordions/accordion-employee-documents/accordion-employee-documents.component'; +import { AccordionEmployeeDocumentsComponent } from './components/hris/employees/employee-profile/accordions/accordion-documents/accordion-employee-documents/accordion-employee-documents.component'; import { AccordionDocumentsCustomDocumentsComponent } from './components/hris/employees/employee-profile/accordions/accordion-documents/accordion-additional-documents/accordion-additional-documents.component'; import { AccordionCertificatesComponent } from './components/hris/employees/employee-profile/accordions/accordion-career-summary/accordion-certificates/accordion-certificates.component'; -import { AccordionAdministrativeDocumentsComponent } from './components/hris/employees/employee-profile/accordions/accordion-administrative-documents/accordion-administrative-documents.component'; +import { AccordionAdministrativeDocumentsComponent } from './components/hris/employees/employee-profile/accordions/accordion-documents/accordion-administrative-documents/accordion-administrative-documents.component'; import { AccordionCareerAdditionalInformationComponent } from './components/hris/employees/employee-profile/accordions/accordion-profile/accordion-career-additional-information/accordion-career-additional-information.component'; import { AccordionCareerWorkExperienceComponent } from './components/hris/employees/employee-profile/accordions/accordion-career-summary/accordion-career-work-experience/accordion-career-work-experience.component'; import { AccordionSalaryDetailsComponent } from './components/hris/employees/employee-profile/accordions/accordion-career-summary/accordion-salary-details/accordion-salary-details.component'; diff --git a/src/app/components/hris/charts/charts.component.ts b/src/app/components/hris/charts/charts.component.ts index 47b99610d..b9083d937 100644 --- a/src/app/components/hris/charts/charts.component.ts +++ b/src/app/components/hris/charts/charts.component.ts @@ -9,7 +9,7 @@ import { ChartType } from 'chart.js'; import ChartDataLabels from 'chartjs-plugin-datalabels' import { Renderer2, Inject } from '@angular/core'; import { DOCUMENT } from '@angular/common'; -import { EmployeeProfile } from 'src/app/models/hris/employee-profile.interface'; +import { EmployeeFilterView } from 'src/app/models/hris/employee-filter-view.interface'; import { EmployeeService } from 'src/app/services/hris/employee/employee.service'; import { EmployeeType } from 'src/app/models/hris/constants/employeeTypes.constants'; import { Chart } from 'chart.js'; @@ -207,7 +207,7 @@ export class ChartComponent implements OnInit { fetchPeopleChampionEmployees() { this.employeeService.filterEmployees(0, EmployeeType.PeopleChampion).subscribe({ - next: (employees: EmployeeProfile[]) => { + next: (employees: EmployeeFilterView[]) => { employees.forEach((employee) => { if (employee.id) { this.employeeNames[employee.id] = `${employee.name} ${employee.surname}`; diff --git a/src/app/components/hris/employees/employee-profile/accordions-documents/accordion-starter-kit-documents/accordion-documents.component.css b/src/app/components/hris/employees/employee-profile/accordions-documents/accordion-starter-kit-documents/accordion-documents.component.css deleted file mode 100644 index 343648132..000000000 --- a/src/app/components/hris/employees/employee-profile/accordions-documents/accordion-starter-kit-documents/accordion-documents.component.css +++ /dev/null @@ -1,132 +0,0 @@ -#actionCellDownload>button { - border: 1px solid #0029C6; - border-radius: 2rem; - background-color: white; - color: #0029C6; - padding: 0.5rem; - width: 8rem; -} - -#actionCellUpload>button { - background: #0029c6; - border: none; - border-radius: 4rem; - color: white; - padding: 0.5rem; - width: 8rem; -} - -#header-cell { - color: black; - font-size: 16px; - font-family: Roboto; - font-weight: 500; - line-height: 24px; - letter-spacing: 0.15px; - word-wrap: break-word; - padding-left: 2rem; -} - -#table { - background: #fdfdfe; -} - -#table-header { - background: #D7DFFF; - border-top-right-radius: 2rem; - border-top-left-radius: 2rem; -} - -#header-header>div { - color: black; - font-size: 16px; - font-family: Roboto; - font-weight: 500; - line-height: 24px; - letter-spacing: 0.15px; -} - -#document-row { - border-radius: 20px; - border: 1px solid var(--M3-sys-light-outline-variant, #CAC4D0); - background: var(--M3-white, #FFF); -} - -#fileName { - color: grey; -} - -#svg-icon-w #icon-w { - fill: white; -} - -#actionCellDownload>button.disabledDownload { - border: 1px solid #e3e3e4ff; - border-radius: 2rem; - background-color: #e3e3e4ff; - color: #ffffff; - padding: 0.5rem; - width: 8rem; -} - -:host .upload-download-button { - width: 100%!important; -} - -.spinner-container { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: rgba(0, 0, 0, 0.3); - z-index: 9999; - display: flex; - justify-content: center; - align-items: center; -} - -.mat-mdc-progress-spinner { - --mdc-circular-progress-active-indicator-color: #0029C6 !important; -} -.row { - margin-left: 20px; - margin-right: 20px; -} - -#status-0 { - background-color: #008000; - position: relative; - right: 5px; - margin-right: 15px; - float: right; - justify-content: flex-end; - align-items: flex-end; -} - -#status-1 { - background: #ff0000; - position: relative; - right: 5px; - margin-right: 15px; - float: right; - justify-content: flex-end; - align-items: flex-end; - padding-right: 40px; - width: 20%; -} - -#status-2 { - background: #808080; - position: relative; - right: 5px; - margin-right: 15px; - float: right; - justify-content: flex-end; - align-items: flex-end; -} - -#accordion { - margin-right: -2%; - margin-left: -2%; -} diff --git a/src/app/components/hris/employees/employee-profile/accordions-documents/accordion-starter-kit-documents/accordion-documents.component.html b/src/app/components/hris/employees/employee-profile/accordions-documents/accordion-starter-kit-documents/accordion-documents.component.html deleted file mode 100644 index 0fb8f4a18..000000000 --- a/src/app/components/hris/employees/employee-profile/accordions-documents/accordion-starter-kit-documents/accordion-documents.component.html +++ /dev/null @@ -1,117 +0,0 @@ -
{{document.fileName}}
-Download & Upload Document Here
-