@prutech/compliance 1.0.224 → 1.0.226
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/pre-conciliation-work-list/components/review-details-dialog/review-details-dialog.component.mjs +14 -9
- package/esm2020/lib/pre-conciliation-work-list/models/review-details.model.mjs +4 -3
- package/esm2020/lib/time-keeping-details/components/participant-timesheet/participant-timesheet.component.mjs +4 -4
- package/fesm2015/prutech-compliance.mjs +38 -32
- package/fesm2015/prutech-compliance.mjs.map +1 -1
- package/fesm2020/prutech-compliance.mjs +38 -32
- package/fesm2020/prutech-compliance.mjs.map +1 -1
- package/lib/pre-conciliation-work-list/components/review-details-dialog/review-details-dialog.component.d.ts +4 -1
- package/lib/pre-conciliation-work-list/models/review-details.model.d.ts +1 -0
- package/package.json +1 -1
@@ -804,7 +804,7 @@ export class ParticipantTimesheetComponent extends AbstractComponent {
|
|
804
804
|
return moment(completedDate).isSameOrAfter(moment(), 'day');
|
805
805
|
}
|
806
806
|
isVisible() {
|
807
|
-
let res =
|
807
|
+
let res = true;
|
808
808
|
forEach(this.assignments, (assignment) => {
|
809
809
|
if (this.details.isDue || this.details.isCurrent) {
|
810
810
|
res = !this.isAttestedCheckValue ? assignment.isSelfAttestedSchool : false;
|
@@ -880,11 +880,11 @@ export class ParticipantTimesheetComponent extends AbstractComponent {
|
|
880
880
|
}
|
881
881
|
}
|
882
882
|
ParticipantTimesheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ParticipantTimesheetComponent, deps: [{ token: i1.TimeKeepingDetailsService }, { token: i2.ParticipantChangeStatusService }, { token: i0.ChangeDetectorRef }, { token: i3.TabService }, { token: i4.Router }, { token: i5.UserService }, { token: i6.MatDialog }, { token: i7.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
883
|
-
ParticipantTimesheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ParticipantTimesheetComponent, selector: "prutech-participant-timesheet", inputs: { isAttestedCheckValue: "isAttestedCheckValue" }, usesInheritance: true, ngImport: i0, template: "<div fxLayout=\"column\" fxLayoutAlign=\"start stretch\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"space-around start\">\r\n <div fxFlex=\"100%\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"time-sheet-details\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"5%\" fxLayoutAlign=\"end center\">\r\n <mat-icon class=\"material-icons-outlined primary-icon\" [ngClass]=\"{ 'primary-icon': !isBackDisable(), 'grey-icon': isBackDisable() }\"\r\n (click)=\"loadPastCycle()\">arrow_back_ios\r\n </mat-icon>\r\n </div>\r\n <div fxFlex=\"60%\" fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <mat-label class=\"label time-sheet-header\">\r\n Timesheet Cycle <span class=\"left-label\">{{ timeCycleDisplay }}</span>\r\n </mat-label>\r\n </div>\r\n <mat-icon fxFlex=\"5%\" class=\"material-icons-outlined\" [ngClass]=\"{ 'primary-icon': !isForwardDisable(), 'grey-icon': isForwardDisable() }\"\r\n (click)=\"loadForwardCycle()\">\r\n arrow_forward_ios\r\n </mat-icon>\r\n </div>\r\n <ng-container *ngFor=\"let assignment of assignments;let i=index\">\r\n <div fxFlex fxLayoutAlign=\"center center\" class=\"time-sheet-row border-bottom padding\">\r\n <div *ngIf=\"isHoursExceeded(assignment)\" class=\"warning-icon\">\r\n <mat-icon>error</mat-icon>\r\n <span> HOURS EXCEEDED </span>\r\n </div>\r\n\r\n <strong fxFlex=\"50%\" fxLayoutAlign=\"end center\">\r\n ASSIGNMENT {{ i+1 }} ATTRIBUTES\r\n </strong>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" [disabled] = \"!this.details.isDue\"\r\n (click)=\"onClickConciliate(assignment)\">\r\n <span>DO NOT CONCILIATE</span>\r\n <br>\r\n <sub>({{ assignment?.doNotConciliateCounter }} REMAINING)</sub>\r\n </button>\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" (click)=\"openPCS(assignment)\" \r\n [disabled]=\"isPcsDisabled(assignment)\">\r\n PARTICIPANT CHANGE OF STATUS\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"participant-details time-sheet-row border-bottom padding\">\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Site Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.siteName?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Type</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentType?.displayValue }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Status</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStatus?.displayValue\r\n }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Start Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStartDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment End Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentEndDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hour Group</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourGroup }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hours Assigned</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourAssigned }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Skill Code</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.skillCode?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Course Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.courseName?.displayValue}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"left-label\">\r\n <mat-icon fxFlex=\"10%\" class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"isVisible()\" (click)=\"addActivity(assignment)\">add_circle\r\n </mat-icon>\r\n <mat-form-field fxFlex=\"90%\" appearance=\"outline\" class=\"left-label-2 activity-form-field\" floatLabel=\"auto\">\r\n <mat-label>Select Activity</mat-label>\r\n <mat-select [formControl]=\"control\" [disabled]=\"!isVisible()\">\r\n <mat-option *ngFor=\"let activity of assignment.filteredActivities\" [value]=\"activity\">\r\n <span [title]=\"activity?.displayValue\">\r\n {{ activity?.displayValue }}\r\n </span>\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n\r\n <div fxFlex=\"12%\" *ngFor=\"let item of assignment.currentCycleDates\" class=\"time-label\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\">\r\n <div>{{ item?.dayOfWeek }}</div>\r\n <div>{{ item?.date | date: dateFormat }}</div>\r\n </div>\r\n </div>\r\n <div fxFlex=\"12%\" class=\"time-label\"><span>Weekly</span></div>\r\n\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"!!assignment.formGroup\">\r\n <form [formGroup]=\"assignment.formGroup\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"20px\"\r\n class=\"time-sheet-row\" *ngFor=\"let item of assignment.timesheetByActivity\">\r\n <div fxFlex=\"15%\" class=\"left-label\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-icon class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"isVisible()\" (click)=\"removeActivity(item?.id, assignment)\">remove_circle\r\n </mat-icon>\r\n <span class=\"left-label-2\">{{ item?.name }}</span>\r\n </div>\r\n <div formGroupName=\"{{item?.id}}\" fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <mat-form-field fxFlex=\"12%\" appearance=\"outline\" *ngFor=\"let path of dayOfWeeks\" class=\"time-input\">\r\n <input matInput [formControlName]=\"path\" [readonly]=\"!isAttestedCheckValue?assignment.isSelfAttestedSchool:false\" (ngModelChange)=\"updateHours($event, item?.id, path, assignment)\" />\r\n <mat-error *ngIf=\"!!getErrorMessage(item?.id, path, assignment)\">{{ getErrorMessage(item?.id, path,\r\n assignment)\r\n }}</mat-error>\r\n </mat-form-field>\r\n <span fxFlex=\"12%\" class=\"time-label\">{{ getSum(item) }}</span>\r\n </div>\r\n </form>\r\n </ng-container>\r\n\r\n <!--Total-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" class=\"left-label\" [ngClass]=\"{ 'total': isVisible() }\"><span class=\"left-label-2\">Daily\r\n Total</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxFlex=\"12%\" *ngFor=\"let path of dayOfWeeks\" class=\"time-label\">{{ assignment?.dailyTotal[path] }}</div>\r\n <div fxFlex=\"12%\" class=\"time-label\">{{ getTotalSum( assignment ) }}</div>\r\n </div>\r\n </div>\r\n <!--Carfare-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\"><span>Carfare</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.carfareFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.carfareModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"item?.isDisable\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option [value]=\"defaultCarfareOption\">N/A</mat-option>\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n <!--Assignment Mode-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\">\r\n <span>Assignment Mode\r\n <span class=\"prutech-dynamic-button-mandatory\">*</span>\r\n </span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.assignmentModeFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.assignmentModeModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"!isVisible()\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <div class=\"time-sheet-comment\">\r\n <div *ngIf=\"showDcMessage()\" class=\"warning-text\">\r\n <span>{{ this.getDcMessage() }}</span>\r\n </div>\r\n <div *ngIf=\"isParticipantChangeOfStatus()\" class=\"warning-text\">\r\n <span>{{ this.details?.programAlert?.pcsType?.displayValue }} PCS</span><br>\r\n <span>Performed on {{ this.details?.programAlert?.submittedOn | date: 'MM/dd/yyyy'}}</span><br>\r\n <span>Reason: {{ this.details?.programAlert?.reason?.displayValue }}</span><br>\r\n <span class=\"comment\">{{ this.details?.programAlert?.comments }}</span>\r\n </div>\r\n <span>- All hours entered into SEAMS are subject to audit and require back up documentation, either thru separate\r\n manual or electronic tracking which matches the hours submitted for each client. </span><br>\r\n <span *ngIf=\"!!timeFrameMessage\">- Data Entry must be completed by {{ timeFrameMessage }}.</span>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"30px\">\r\n <button mat-flat-button (click)=\"exit()\">EXIT</button>\r\n <button mat-raised-button color=\"primary\" *ngIf=\"isVisible()\" (click)=\"validateAndSave()\" [disabled]=\"isFormInValid()\">SAVE\r\n </button>\r\n </div>\r\n <div *ngIf=\"showDeficitHoursMessage\" class=\"save-warning\" fxLayoutAlign=\"center center\">\r\n <mat-icon>error</mat-icon>\r\n <span> Total weekly hours entered have a deficit subject to infraction. </span>\r\n </div>\r\n</div>", styles: [""], components: [{ type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i9.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i10.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i11.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i12.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i13.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i13.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i13.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i13.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.MatLabel, selector: "mat-label" }, { type: i14.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i15.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i10.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "date": i14.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
883
|
+
ParticipantTimesheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ParticipantTimesheetComponent, selector: "prutech-participant-timesheet", inputs: { isAttestedCheckValue: "isAttestedCheckValue" }, usesInheritance: true, ngImport: i0, template: "<div fxLayout=\"column\" fxLayoutAlign=\"start stretch\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"space-around start\">\r\n <div fxFlex=\"100%\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"time-sheet-details\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"5%\" fxLayoutAlign=\"end center\">\r\n <mat-icon class=\"material-icons-outlined primary-icon\" [ngClass]=\"{ 'primary-icon': !isBackDisable(), 'grey-icon': isBackDisable() }\"\r\n (click)=\"loadPastCycle()\">arrow_back_ios\r\n </mat-icon>\r\n </div>\r\n <div fxFlex=\"60%\" fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <mat-label class=\"label time-sheet-header\">\r\n Timesheet Cycle <span class=\"left-label\">{{ timeCycleDisplay }}</span>\r\n </mat-label>\r\n </div>\r\n <mat-icon fxFlex=\"5%\" class=\"material-icons-outlined\" [ngClass]=\"{ 'primary-icon': !isForwardDisable(), 'grey-icon': isForwardDisable() }\"\r\n (click)=\"loadForwardCycle()\">\r\n arrow_forward_ios\r\n </mat-icon>\r\n </div>\r\n <ng-container *ngFor=\"let assignment of assignments;let i=index\">\r\n <div fxFlex fxLayoutAlign=\"center center\" class=\"time-sheet-row border-bottom padding\">\r\n <div *ngIf=\"isHoursExceeded(assignment)\" class=\"warning-icon\">\r\n <mat-icon>error</mat-icon>\r\n <span> HOURS EXCEEDED </span>\r\n </div>\r\n\r\n <strong fxFlex=\"50%\" fxLayoutAlign=\"end center\">\r\n ASSIGNMENT {{ i+1 }} ATTRIBUTES\r\n </strong>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" [disabled] = \"!this.details.isDue\"\r\n (click)=\"onClickConciliate(assignment)\">\r\n <span>DO NOT CONCILIATE</span>\r\n <br>\r\n <sub>({{ assignment?.doNotConciliateCounter }} REMAINING)</sub>\r\n </button>\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" (click)=\"openPCS(assignment)\" \r\n [disabled]=\"isPcsDisabled(assignment)\">\r\n PARTICIPANT CHANGE OF STATUS\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"participant-details time-sheet-row border-bottom padding\">\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Site Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.siteName?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Type</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentType?.displayValue }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Status</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStatus?.displayValue\r\n }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Start Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStartDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment End Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentEndDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hour Group</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourGroup }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hours Assigned</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourAssigned }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Skill Code</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.skillCode?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Course Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.courseName?.displayValue}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"left-label\">\r\n <mat-icon fxFlex=\"10%\" class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"(this.details.isCurrent||this.details.isDue)\" (click)=\"addActivity(assignment)\">add_circle\r\n </mat-icon>\r\n <mat-form-field fxFlex=\"90%\" appearance=\"outline\" class=\"left-label-2 activity-form-field\" floatLabel=\"auto\">\r\n <mat-label>Select Activity</mat-label>\r\n <mat-select [formControl]=\"control\" [disabled]=\"!isVisible() != true? (this.details.isDue || this.details.isCurrent)? (!this.isAttestedCheckValue? assignment.isSelfAttestedSchool:false):true:false\">\r\n <mat-option *ngFor=\"let activity of assignment.filteredActivities\" [value]=\"activity\">\r\n <span [title]=\"activity?.displayValue\">\r\n {{ activity?.displayValue }}\r\n </span>\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n\r\n <div fxFlex=\"12%\" *ngFor=\"let item of assignment.currentCycleDates\" class=\"time-label\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\">\r\n <div>{{ item?.dayOfWeek }}</div>\r\n <div>{{ item?.date | date: dateFormat }}</div>\r\n </div>\r\n </div>\r\n <div fxFlex=\"12%\" class=\"time-label\"><span>Weekly</span></div>\r\n\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"!!assignment.formGroup\">\r\n <form [formGroup]=\"assignment.formGroup\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"20px\"\r\n class=\"time-sheet-row\" *ngFor=\"let item of assignment.timesheetByActivity\">\r\n <div fxFlex=\"15%\" class=\"left-label\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-icon class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"isVisible()\" (click)=\"removeActivity(item?.id, assignment)\">remove_circle\r\n </mat-icon>\r\n <span class=\"left-label-2\">{{ item?.name }}</span>\r\n </div>\r\n <div formGroupName=\"{{item?.id}}\" fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <mat-form-field fxFlex=\"12%\" appearance=\"outline\" *ngFor=\"let path of dayOfWeeks\" class=\"time-input\">\r\n <input matInput [formControlName]=\"path\" [readonly]=\"!isAttestedCheckValue?assignment.isSelfAttestedSchool:false\" (ngModelChange)=\"updateHours($event, item?.id, path, assignment)\" />\r\n <mat-error *ngIf=\"!!getErrorMessage(item?.id, path, assignment)\">{{ getErrorMessage(item?.id, path,\r\n assignment)\r\n }}</mat-error>\r\n </mat-form-field>\r\n <span fxFlex=\"12%\" class=\"time-label\">{{ getSum(item) }}</span>\r\n </div>\r\n </form>\r\n </ng-container>\r\n\r\n <!--Total-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" class=\"left-label\" [ngClass]=\"{ 'total': isVisible() }\"><span class=\"left-label-2\">Daily\r\n Total</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxFlex=\"12%\" *ngFor=\"let path of dayOfWeeks\" class=\"time-label\">{{ assignment?.dailyTotal[path] }}</div>\r\n <div fxFlex=\"12%\" class=\"time-label\">{{ getTotalSum( assignment ) }}</div>\r\n </div>\r\n </div>\r\n <!--Carfare-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\"><span>Carfare</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.carfareFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.carfareModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"item?.isDisable\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option [value]=\"defaultCarfareOption\">N/A</mat-option>\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n <!--Assignment Mode-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\">\r\n <span>Assignment Mode\r\n <span class=\"prutech-dynamic-button-mandatory\">*</span>\r\n </span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.assignmentModeFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.assignmentModeModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"item?.isDisable ||!isAttestedCheckValue?assignment.isSelfAttestedSchool:false\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <div class=\"time-sheet-comment\">\r\n <div *ngIf=\"showDcMessage()\" class=\"warning-text\">\r\n <span>{{ this.getDcMessage() }}</span>\r\n </div>\r\n <div *ngIf=\"isParticipantChangeOfStatus()\" class=\"warning-text\">\r\n <span>{{ this.details?.programAlert?.pcsType?.displayValue }} PCS</span><br>\r\n <span>Performed on {{ this.details?.programAlert?.submittedOn | date: 'MM/dd/yyyy'}}</span><br>\r\n <span>Reason: {{ this.details?.programAlert?.reason?.displayValue }}</span><br>\r\n <span class=\"comment\">{{ this.details?.programAlert?.comments }}</span>\r\n </div>\r\n <span>- All hours entered into SEAMS are subject to audit and require back up documentation, either thru separate\r\n manual or electronic tracking which matches the hours submitted for each client. </span><br>\r\n <span *ngIf=\"!!timeFrameMessage\">- Data Entry must be completed by {{ timeFrameMessage }}.</span>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"30px\">\r\n <button mat-flat-button (click)=\"exit()\">EXIT</button>\r\n <button mat-raised-button color=\"primary\" *ngIf=\"isVisible()&& (this.details.isDue ||this.details.isCurrent)\" (click)=\"validateAndSave()\" [disabled]=\"isFormInValid()\">SAVE\r\n </button>\r\n </div>\r\n <div *ngIf=\"showDeficitHoursMessage\" class=\"save-warning\" fxLayoutAlign=\"center center\">\r\n <mat-icon>error</mat-icon>\r\n <span> Total weekly hours entered have a deficit subject to infraction. </span>\r\n </div>\r\n</div>", styles: [""], components: [{ type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i9.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i10.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i11.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i12.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i13.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i13.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i13.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i13.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.MatLabel, selector: "mat-label" }, { type: i14.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i7.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i15.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i10.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "date": i14.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
884
884
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ParticipantTimesheetComponent, decorators: [{
|
885
885
|
type: Component,
|
886
|
-
args: [{ selector: 'prutech-participant-timesheet', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div fxLayout=\"column\" fxLayoutAlign=\"start stretch\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"space-around start\">\r\n <div fxFlex=\"100%\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"time-sheet-details\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"5%\" fxLayoutAlign=\"end center\">\r\n <mat-icon class=\"material-icons-outlined primary-icon\" [ngClass]=\"{ 'primary-icon': !isBackDisable(), 'grey-icon': isBackDisable() }\"\r\n (click)=\"loadPastCycle()\">arrow_back_ios\r\n </mat-icon>\r\n </div>\r\n <div fxFlex=\"60%\" fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <mat-label class=\"label time-sheet-header\">\r\n Timesheet Cycle <span class=\"left-label\">{{ timeCycleDisplay }}</span>\r\n </mat-label>\r\n </div>\r\n <mat-icon fxFlex=\"5%\" class=\"material-icons-outlined\" [ngClass]=\"{ 'primary-icon': !isForwardDisable(), 'grey-icon': isForwardDisable() }\"\r\n (click)=\"loadForwardCycle()\">\r\n arrow_forward_ios\r\n </mat-icon>\r\n </div>\r\n <ng-container *ngFor=\"let assignment of assignments;let i=index\">\r\n <div fxFlex fxLayoutAlign=\"center center\" class=\"time-sheet-row border-bottom padding\">\r\n <div *ngIf=\"isHoursExceeded(assignment)\" class=\"warning-icon\">\r\n <mat-icon>error</mat-icon>\r\n <span> HOURS EXCEEDED </span>\r\n </div>\r\n\r\n <strong fxFlex=\"50%\" fxLayoutAlign=\"end center\">\r\n ASSIGNMENT {{ i+1 }} ATTRIBUTES\r\n </strong>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" [disabled] = \"!this.details.isDue\"\r\n (click)=\"onClickConciliate(assignment)\">\r\n <span>DO NOT CONCILIATE</span>\r\n <br>\r\n <sub>({{ assignment?.doNotConciliateCounter }} REMAINING)</sub>\r\n </button>\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" (click)=\"openPCS(assignment)\" \r\n [disabled]=\"isPcsDisabled(assignment)\">\r\n PARTICIPANT CHANGE OF STATUS\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"participant-details time-sheet-row border-bottom padding\">\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Site Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.siteName?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Type</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentType?.displayValue }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Status</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStatus?.displayValue\r\n }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Start Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStartDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment End Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentEndDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hour Group</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourGroup }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hours Assigned</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourAssigned }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Skill Code</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.skillCode?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Course Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.courseName?.displayValue}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"left-label\">\r\n <mat-icon fxFlex=\"10%\" class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"isVisible()\" (click)=\"addActivity(assignment)\">add_circle\r\n </mat-icon>\r\n <mat-form-field fxFlex=\"90%\" appearance=\"outline\" class=\"left-label-2 activity-form-field\" floatLabel=\"auto\">\r\n <mat-label>Select Activity</mat-label>\r\n <mat-select [formControl]=\"control\" [disabled]=\"!isVisible()\">\r\n <mat-option *ngFor=\"let activity of assignment.filteredActivities\" [value]=\"activity\">\r\n <span [title]=\"activity?.displayValue\">\r\n {{ activity?.displayValue }}\r\n </span>\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n\r\n <div fxFlex=\"12%\" *ngFor=\"let item of assignment.currentCycleDates\" class=\"time-label\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\">\r\n <div>{{ item?.dayOfWeek }}</div>\r\n <div>{{ item?.date | date: dateFormat }}</div>\r\n </div>\r\n </div>\r\n <div fxFlex=\"12%\" class=\"time-label\"><span>Weekly</span></div>\r\n\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"!!assignment.formGroup\">\r\n <form [formGroup]=\"assignment.formGroup\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"20px\"\r\n class=\"time-sheet-row\" *ngFor=\"let item of assignment.timesheetByActivity\">\r\n <div fxFlex=\"15%\" class=\"left-label\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-icon class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"isVisible()\" (click)=\"removeActivity(item?.id, assignment)\">remove_circle\r\n </mat-icon>\r\n <span class=\"left-label-2\">{{ item?.name }}</span>\r\n </div>\r\n <div formGroupName=\"{{item?.id}}\" fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <mat-form-field fxFlex=\"12%\" appearance=\"outline\" *ngFor=\"let path of dayOfWeeks\" class=\"time-input\">\r\n <input matInput [formControlName]=\"path\" [readonly]=\"!isAttestedCheckValue?assignment.isSelfAttestedSchool:false\" (ngModelChange)=\"updateHours($event, item?.id, path, assignment)\" />\r\n <mat-error *ngIf=\"!!getErrorMessage(item?.id, path, assignment)\">{{ getErrorMessage(item?.id, path,\r\n assignment)\r\n }}</mat-error>\r\n </mat-form-field>\r\n <span fxFlex=\"12%\" class=\"time-label\">{{ getSum(item) }}</span>\r\n </div>\r\n </form>\r\n </ng-container>\r\n\r\n <!--Total-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" class=\"left-label\" [ngClass]=\"{ 'total': isVisible() }\"><span class=\"left-label-2\">Daily\r\n Total</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxFlex=\"12%\" *ngFor=\"let path of dayOfWeeks\" class=\"time-label\">{{ assignment?.dailyTotal[path] }}</div>\r\n <div fxFlex=\"12%\" class=\"time-label\">{{ getTotalSum( assignment ) }}</div>\r\n </div>\r\n </div>\r\n <!--Carfare-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\"><span>Carfare</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.carfareFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.carfareModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"item?.isDisable\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option [value]=\"defaultCarfareOption\">N/A</mat-option>\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n <!--Assignment Mode-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\">\r\n <span>Assignment Mode\r\n <span class=\"prutech-dynamic-button-mandatory\">*</span>\r\n </span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.assignmentModeFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.assignmentModeModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"!isVisible()\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <div class=\"time-sheet-comment\">\r\n <div *ngIf=\"showDcMessage()\" class=\"warning-text\">\r\n <span>{{ this.getDcMessage() }}</span>\r\n </div>\r\n <div *ngIf=\"isParticipantChangeOfStatus()\" class=\"warning-text\">\r\n <span>{{ this.details?.programAlert?.pcsType?.displayValue }} PCS</span><br>\r\n <span>Performed on {{ this.details?.programAlert?.submittedOn | date: 'MM/dd/yyyy'}}</span><br>\r\n <span>Reason: {{ this.details?.programAlert?.reason?.displayValue }}</span><br>\r\n <span class=\"comment\">{{ this.details?.programAlert?.comments }}</span>\r\n </div>\r\n <span>- All hours entered into SEAMS are subject to audit and require back up documentation, either thru separate\r\n manual or electronic tracking which matches the hours submitted for each client. </span><br>\r\n <span *ngIf=\"!!timeFrameMessage\">- Data Entry must be completed by {{ timeFrameMessage }}.</span>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"30px\">\r\n <button mat-flat-button (click)=\"exit()\">EXIT</button>\r\n <button mat-raised-button color=\"primary\" *ngIf=\"isVisible()\" (click)=\"validateAndSave()\" [disabled]=\"isFormInValid()\">SAVE\r\n </button>\r\n </div>\r\n <div *ngIf=\"showDeficitHoursMessage\" class=\"save-warning\" fxLayoutAlign=\"center center\">\r\n <mat-icon>error</mat-icon>\r\n <span> Total weekly hours entered have a deficit subject to infraction. </span>\r\n </div>\r\n</div>", styles: [""] }]
|
886
|
+
args: [{ selector: 'prutech-participant-timesheet', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div fxLayout=\"column\" fxLayoutAlign=\"start stretch\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"space-around start\">\r\n <div fxFlex=\"100%\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"time-sheet-details\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"5%\" fxLayoutAlign=\"end center\">\r\n <mat-icon class=\"material-icons-outlined primary-icon\" [ngClass]=\"{ 'primary-icon': !isBackDisable(), 'grey-icon': isBackDisable() }\"\r\n (click)=\"loadPastCycle()\">arrow_back_ios\r\n </mat-icon>\r\n </div>\r\n <div fxFlex=\"60%\" fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <mat-label class=\"label time-sheet-header\">\r\n Timesheet Cycle <span class=\"left-label\">{{ timeCycleDisplay }}</span>\r\n </mat-label>\r\n </div>\r\n <mat-icon fxFlex=\"5%\" class=\"material-icons-outlined\" [ngClass]=\"{ 'primary-icon': !isForwardDisable(), 'grey-icon': isForwardDisable() }\"\r\n (click)=\"loadForwardCycle()\">\r\n arrow_forward_ios\r\n </mat-icon>\r\n </div>\r\n <ng-container *ngFor=\"let assignment of assignments;let i=index\">\r\n <div fxFlex fxLayoutAlign=\"center center\" class=\"time-sheet-row border-bottom padding\">\r\n <div *ngIf=\"isHoursExceeded(assignment)\" class=\"warning-icon\">\r\n <mat-icon>error</mat-icon>\r\n <span> HOURS EXCEEDED </span>\r\n </div>\r\n\r\n <strong fxFlex=\"50%\" fxLayoutAlign=\"end center\">\r\n ASSIGNMENT {{ i+1 }} ATTRIBUTES\r\n </strong>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"20px\">\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" [disabled] = \"!this.details.isDue\"\r\n (click)=\"onClickConciliate(assignment)\">\r\n <span>DO NOT CONCILIATE</span>\r\n <br>\r\n <sub>({{ assignment?.doNotConciliateCounter }} REMAINING)</sub>\r\n </button>\r\n <button mat-stroked-button color=\"primary\" class=\"button-size\" (click)=\"openPCS(assignment)\" \r\n [disabled]=\"isPcsDisabled(assignment)\">\r\n PARTICIPANT CHANGE OF STATUS\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"participant-details time-sheet-row border-bottom padding\">\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Site Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.siteName?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Type</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentType?.displayValue }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Status</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStatus?.displayValue\r\n }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment Start Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentStartDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Assignment End Date</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.assignmentEndDate | date:\r\n fullDateFormat }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hour Group</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourGroup }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Hours Assigned</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.hourAssigned }}</div>\r\n </div>\r\n </div>\r\n\r\n <div fxFlex fxLayout=\"column\" fxLayoutAlign=\"start stretch\" class=\"column\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Skill Code</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.skillCode?.displayValue }}</div>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" class=\"readonly-info\">\r\n <div fxFlex class=\"label\" fxLayoutAlign=\"center center\">Course Name</div>\r\n <div fxFlex class=\"value\" fxLayoutAlign=\"center center\">{{ assignment?.courseName?.displayValue}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-bottom\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"left-label\">\r\n <mat-icon fxFlex=\"10%\" class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"(this.details.isCurrent||this.details.isDue)\" (click)=\"addActivity(assignment)\">add_circle\r\n </mat-icon>\r\n <mat-form-field fxFlex=\"90%\" appearance=\"outline\" class=\"left-label-2 activity-form-field\" floatLabel=\"auto\">\r\n <mat-label>Select Activity</mat-label>\r\n <mat-select [formControl]=\"control\" [disabled]=\"!isVisible() != true? (this.details.isDue || this.details.isCurrent)? (!this.isAttestedCheckValue? assignment.isSelfAttestedSchool:false):true:false\">\r\n <mat-option *ngFor=\"let activity of assignment.filteredActivities\" [value]=\"activity\">\r\n <span [title]=\"activity?.displayValue\">\r\n {{ activity?.displayValue }}\r\n </span>\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n\r\n <div fxFlex=\"12%\" *ngFor=\"let item of assignment.currentCycleDates\" class=\"time-label\">\r\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\">\r\n <div>{{ item?.dayOfWeek }}</div>\r\n <div>{{ item?.date | date: dateFormat }}</div>\r\n </div>\r\n </div>\r\n <div fxFlex=\"12%\" class=\"time-label\"><span>Weekly</span></div>\r\n\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"!!assignment.formGroup\">\r\n <form [formGroup]=\"assignment.formGroup\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"20px\"\r\n class=\"time-sheet-row\" *ngFor=\"let item of assignment.timesheetByActivity\">\r\n <div fxFlex=\"15%\" class=\"left-label\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-icon class=\"material-icons-outlined\" color=\"primary\" *ngIf=\"isVisible()\" (click)=\"removeActivity(item?.id, assignment)\">remove_circle\r\n </mat-icon>\r\n <span class=\"left-label-2\">{{ item?.name }}</span>\r\n </div>\r\n <div formGroupName=\"{{item?.id}}\" fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <mat-form-field fxFlex=\"12%\" appearance=\"outline\" *ngFor=\"let path of dayOfWeeks\" class=\"time-input\">\r\n <input matInput [formControlName]=\"path\" [readonly]=\"!isAttestedCheckValue?assignment.isSelfAttestedSchool:false\" (ngModelChange)=\"updateHours($event, item?.id, path, assignment)\" />\r\n <mat-error *ngIf=\"!!getErrorMessage(item?.id, path, assignment)\">{{ getErrorMessage(item?.id, path,\r\n assignment)\r\n }}</mat-error>\r\n </mat-form-field>\r\n <span fxFlex=\"12%\" class=\"time-label\">{{ getSum(item) }}</span>\r\n </div>\r\n </form>\r\n </ng-container>\r\n\r\n <!--Total-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"15%\" class=\"left-label\" [ngClass]=\"{ 'total': isVisible() }\"><span class=\"left-label-2\">Daily\r\n Total</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxFlex=\"12%\" *ngFor=\"let path of dayOfWeeks\" class=\"time-label\">{{ assignment?.dailyTotal[path] }}</div>\r\n <div fxFlex=\"12%\" class=\"time-label\">{{ getTotalSum( assignment ) }}</div>\r\n </div>\r\n </div>\r\n <!--Carfare-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\"><span>Carfare</span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.carfareFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.carfareModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"item?.isDisable\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option [value]=\"defaultCarfareOption\">N/A</mat-option>\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n <!--Assignment Mode-->\r\n <div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" class=\"time-sheet-row border-top\" fxLayoutGap=\"20px\">\r\n <div fxFlex=\"20%\" class=\"left-label total\">\r\n <span>Assignment Mode\r\n <span class=\"prutech-dynamic-button-mandatory\">*</span>\r\n </span>\r\n </div>\r\n <div fxFlex=\"80%\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\" [formGroup]=\"assignment.assignmentModeFormGroup\">\r\n <mat-form-field appearance=\"outline\" fxFlex=\"12%\" *ngFor=\"let item of assignment.assignmentModeModels; let index=index;\"\r\n class=\"time-input\">\r\n <mat-select [disabled]=\"item?.isDisable ||!isAttestedCheckValue?assignment.isSelfAttestedSchool:false\" [formControlName]=\"item?.dayOfWeek\">\r\n <mat-option *ngFor=\"let option of item?.options\" [value]=\"option\">\r\n {{ option.displayValue }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <div fxFlex=\"12%\" class=\"time-label\"></div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <div class=\"time-sheet-comment\">\r\n <div *ngIf=\"showDcMessage()\" class=\"warning-text\">\r\n <span>{{ this.getDcMessage() }}</span>\r\n </div>\r\n <div *ngIf=\"isParticipantChangeOfStatus()\" class=\"warning-text\">\r\n <span>{{ this.details?.programAlert?.pcsType?.displayValue }} PCS</span><br>\r\n <span>Performed on {{ this.details?.programAlert?.submittedOn | date: 'MM/dd/yyyy'}}</span><br>\r\n <span>Reason: {{ this.details?.programAlert?.reason?.displayValue }}</span><br>\r\n <span class=\"comment\">{{ this.details?.programAlert?.comments }}</span>\r\n </div>\r\n <span>- All hours entered into SEAMS are subject to audit and require back up documentation, either thru separate\r\n manual or electronic tracking which matches the hours submitted for each client. </span><br>\r\n <span *ngIf=\"!!timeFrameMessage\">- Data Entry must be completed by {{ timeFrameMessage }}.</span>\r\n </div>\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"30px\">\r\n <button mat-flat-button (click)=\"exit()\">EXIT</button>\r\n <button mat-raised-button color=\"primary\" *ngIf=\"isVisible()&& (this.details.isDue ||this.details.isCurrent)\" (click)=\"validateAndSave()\" [disabled]=\"isFormInValid()\">SAVE\r\n </button>\r\n </div>\r\n <div *ngIf=\"showDeficitHoursMessage\" class=\"save-warning\" fxLayoutAlign=\"center center\">\r\n <mat-icon>error</mat-icon>\r\n <span> Total weekly hours entered have a deficit subject to infraction. </span>\r\n </div>\r\n</div>", styles: [""] }]
|
887
887
|
}], ctorParameters: function () { return [{ type: i1.TimeKeepingDetailsService }, { type: i2.ParticipantChangeStatusService }, { type: i0.ChangeDetectorRef }, { type: i3.TabService }, { type: i4.Router }, { type: i5.UserService }, { type: i6.MatDialog }, { type: i7.FormBuilder }]; }, propDecorators: { isAttestedCheckValue: [{
|
888
888
|
type: Input
|
889
889
|
}] } });
|
890
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFydGljaXBhbnQtdGltZXNoZWV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3BydXRlY2gvY29tcGxpYW5jZS9zcmMvbGliL3RpbWUta2VlcGluZy1kZXRhaWxzL2NvbXBvbmVudHMvcGFydGljaXBhbnQtdGltZXNoZWV0L3BhcnRpY2lwYW50LXRpbWVzaGVldC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wcnV0ZWNoL2NvbXBsaWFuY2Uvc3JjL2xpYi90aW1lLWtlZXBpbmctZGV0YWlscy9jb21wb25lbnRzL3BhcnRpY2lwYW50LXRpbWVzaGVldC9wYXJ0aWNpcGFudC10aW1lc2hlZXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMi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U2F2ZVRpbWVLZWVwaW5nRGV0YWlscyhuZXcgU2F2ZVRpbWVzaGVldFBjc1BheWxvYWQoe1xyXG4gICAgICAgICAgICB0aW1lc2hlZXQ6IHRoaXMuZ2V0U2F2ZVBheWxvYWQoIGdldChhc3NpZ25tZW50LCAnYXNzaWdubWVudElkJykgKSxcclxuICAgICAgICAgICAgcGNzOiBuZXcgUGFydGljaXBhbnRDaGFuZ2VTdGF0dXMoe1xyXG4gICAgICAgICAgICAgIC4uLnJlcyxcclxuICAgICAgICAgICAgICBjYXNlSWQ6IGdldCh0aGlzLmRldGFpbHMsICdjYXNlSWQnKSxcclxuICAgICAgICAgICAgICBhc3NpZ25tZW50SWQ6IGdldChhc3NpZ25tZW50LCAnYXNzaWdubWVudElkJyksXHJcbiAgICAgICAgICAgICAgY3ljbGU6IGxvb2t1cFRpbWVrZWVwaW5nQ3ljbGVJZCxcclxuICAgICAgICAgICAgfSksXHJcbiAgICAgICAgICB9KSk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgIHRoaXMucGNzU2VydmljZS5kaXNwYXRjaFNhdmVQY3MobmV3IFBhcnRpY2lwYW50Q2hhbmdlU3RhdHVzKHtcclxuICAgICAgICAgICAgLi4ucmVzLFxyXG4gICAgICAgICAgICBjYXNlSWQ6IGdldCh0aGlzLmRldGFpbHMsICdjYXNlSWQnKSxcclxuICAgICAgICAgICAgYXNzaWdubWVudElkOiBnZXQoYXNzaWdubWVudCwgJ2Fzc2lnbm1lbnRJZCcpLFxyXG4gICAgICAgICAgICBjeWNsZTogbG9va3VwVGltZWtlZXBpbmdDeWNsZUlkLFxyXG4gICAgICAgICAgICB0aW1lS2VlcGluZ0N5Y2xlSWQ6IGdldChhc3NpZ25tZW50LCAndGltZWtlZXBpbmdDeWNsZUlkJyksXHJcbiAgICAgICAgICB9KSk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9KTtcclxuICB9XHJcbiAgfVxyXG5cclxuICBpc0Nvb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