Skip to content
Snippets Groups Projects
Commit 66f7951d authored by Névisson Gonçalves's avatar Névisson Gonçalves
Browse files

Ajuste na nota de rodapé do quadro de funcionários.

parent da9d86bd
No related branches found
No related tags found
1 merge request!1v1
import { Footnote } from './../../../../shared/components/footnote/entities/footnote';
import { FormationLevel } from '../../../../shared/entities/formation-level';
import { Location } from '../../../../shared/entities/location';
import { SchoolStaff } from './school-staff';
......@@ -7,6 +8,7 @@ export class SchoolsStaff extends NavigableComponentData {
staffs: Array<SchoolStaff> = new Array<SchoolStaff>();
formationLevels: Array<FormationLevel>;
locations: Array<Location>;
sourceInformationGeneral: Footnote;
constructor(init?: Partial<SchoolsStaff>) {
super();
......
......@@ -100,13 +100,11 @@
[(ngModel)]="staff.referenceDate" [disabled]="!pqrAdminMode && pqrMode">
</td>
</tr>
<tr *ngIf="!pqrMode">
<td class="observation" colspan="12">*A função Auxiliar de Alimentação não pode ser removida, pois é
utilizada no cálculo do custo-aluno, para desconsiderá-la informe o valor zero na sua respectiva
remuneração.</td>
</tr>
</tbody>
</table>
<div *ngIf="!pqrMode" class="panel-footer notes">
<app-footnote [footnote]="data.sourceInformationGeneral"></app-footnote>
</div>
</div>
</div>
</div>
......
......@@ -9,8 +9,3 @@
.gross-monthly-remuneration {
min-width: 110px;
}
.observation {
text-align: left;
color: #c62a10;
}
import { Footnote } from './../../../../shared/components/footnote/entities/footnote';
import { Injectable } from '@angular/core';
import { Observable, of } from 'rxjs';
......@@ -20,6 +21,7 @@ export class SchoolsStaffService implements NavigableComponentService {
getData(): Observable<SchoolsStaff> {
let schoolsStaff: SchoolsStaff = new SchoolsStaff();
schoolsStaff = this.sessionService.getItem<SchoolsStaff>(Functionality.schoolsStaff.pqrKey);
schoolsStaff.sourceInformationGeneral = this.getSourceInformationGeneral();
return of(schoolsStaff);
}
......@@ -48,4 +50,13 @@ export class SchoolsStaffService implements NavigableComponentService {
}
}
}
private getSourceInformationGeneral(): Footnote {
const footNote: Footnote = new Footnote({
remarks: 'A função Auxiliar de Alimentação não pode ser removida, pois é utilizada no cálculo do custo-aluno, ' +
'para desconsiderá-la informe o valor zero na sua respectiva remuneração.'
});
return footNote;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment