|
6 | 6 | > |
7 | 7 | <mat-tab label="{{'General' | translate }}" > |
8 | 8 |
|
9 | | - <div class="d-flex flex-row" *ngIf="!data.resigned && selectCurrentUserIsFirstUser$ | async"> |
10 | | - <mat-checkbox class="p-1" |
11 | | - [id]="'useGoogleSheetAsDefault'" |
12 | | - [name]="'useGoogleSheetAsDefault'" |
13 | | - formControlName="useGoogleSheetAsDefault"> |
14 | | - <div> |
15 | | - <div>{{ 'Use Google Sheet as default' | translate }}</div> |
16 | | - <small class="checkbox-description"></small> |
17 | | - </div> |
18 | | - </mat-checkbox> |
19 | | - </div> |
20 | 9 | <div class="d-flex flex-row" |
21 | | - *ngIf="!data.resigned && !data.useGoogleSheetAsDefault && selectCurrentUserIsFirstUser$ | async"> |
| 10 | + *ngIf="!data.resigned && selectCurrentUserIsFirstUser$ | async"> |
22 | 11 | <mat-checkbox class="p-1" |
23 | 12 | [id]="'useOnlyPlanHours'" |
24 | 13 | [name]="'useOnlyPlanHours'" |
@@ -237,7 +226,7 @@ <h3 class="section-header">{{ 'Employee status' | translate }}</h3> |
237 | 226 | </div> |
238 | 227 | </mat-tab> |
239 | 228 | <mat-tab label="{{'Plan hours' | translate }} " |
240 | | - *ngIf="data.useOnlyPlanHours && !data.useGoogleSheetAsDefault && selectCurrentUserIsFirstUser$ | async"> |
| 229 | + *ngIf="data.useOnlyPlanHours && selectCurrentUserIsFirstUser$ | async"> |
241 | 230 | <div formGroupName="planHours"> |
242 | 231 | <div class="d-flex flex-row" |
243 | 232 | *ngFor="let day of ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']"> |
@@ -330,7 +319,7 @@ <h3 class="section-header">{{ 'Employee status' | translate }}</h3> |
330 | 319 | </div> |
331 | 320 | </mat-tab> |
332 | 321 | <mat-tab label="{{'1st shift' | translate }}" |
333 | | - *ngIf="!data.useOnlyPlanHours && !data.useGoogleSheetAsDefault && selectCurrentUserIsFirstUser$ | async"> |
| 322 | + *ngIf="!data.useOnlyPlanHours && selectCurrentUserIsFirstUser$ | async"> |
334 | 323 | <div [formGroupName]="'firstShift'"> |
335 | 324 | <ng-container *ngIf="selectCurrentUserIsAdmin$ | async"> |
336 | 325 | <div class="d-flex flex-row" |
@@ -390,7 +379,7 @@ <h3 class="section-header">{{ 'Employee status' | translate }}</h3> |
390 | 379 | </div> |
391 | 380 | </mat-tab> |
392 | 381 | <mat-tab label="{{'2nd shift' | translate }}" |
393 | | - *ngIf="!data.useOnlyPlanHours && !data.useGoogleSheetAsDefault && selectCurrentUserIsFirstUser$ | async"> |
| 382 | + *ngIf="!data.useOnlyPlanHours && selectCurrentUserIsFirstUser$ | async"> |
394 | 383 | <div [formGroupName]="'secondShift'"> |
395 | 384 | <ng-container *ngIf="selectCurrentUserIsAdmin$ | async"> |
396 | 385 | <div class="d-flex flex-row" |
@@ -450,7 +439,7 @@ <h3 class="section-header">{{ 'Employee status' | translate }}</h3> |
450 | 439 | </div> |
451 | 440 | </mat-tab> |
452 | 441 | <mat-tab label="{{'3rd shift' | translate }}" |
453 | | - *ngIf="data.thirdShiftActive && !data.useOnlyPlanHours && !data.useGoogleSheetAsDefault && selectCurrentUserIsFirstUser$ | async"> |
| 442 | + *ngIf="data.thirdShiftActive && !data.useOnlyPlanHours && selectCurrentUserIsFirstUser$ | async"> |
454 | 443 | <div [formGroupName]="'thirdShift'"> |
455 | 444 | <ng-container *ngIf="selectCurrentUserIsAdmin$ | async"> |
456 | 445 | <div class="d-flex flex-row" |
@@ -510,7 +499,7 @@ <h3 class="section-header">{{ 'Employee status' | translate }}</h3> |
510 | 499 | </div> |
511 | 500 | </mat-tab> |
512 | 501 | <mat-tab label="{{'4th shift' | translate }}" |
513 | | - *ngIf="data.thirdShiftActive && data.fourthShiftActive && !data.useOnlyPlanHours && !data.useGoogleSheetAsDefault && selectCurrentUserIsFirstUser$ | async"> |
| 502 | + *ngIf="data.thirdShiftActive && data.fourthShiftActive && !data.useOnlyPlanHours && selectCurrentUserIsFirstUser$ | async"> |
514 | 503 | <div [formGroupName]="'fourthShift'"> |
515 | 504 | <ng-container *ngIf="selectCurrentUserIsAdmin$ | async"> |
516 | 505 | <div class="d-flex flex-row" |
@@ -570,7 +559,7 @@ <h3 class="section-header">{{ 'Employee status' | translate }}</h3> |
570 | 559 | </div> |
571 | 560 | </mat-tab> |
572 | 561 | <mat-tab label="{{'5th shift' | translate }}" |
573 | | - *ngIf="data.thirdShiftActive && data.fourthShiftActive && data.fifthShiftActive && !data.useOnlyPlanHours && !data.useGoogleSheetAsDefault && selectCurrentUserIsFirstUser$ | async"> |
| 562 | + *ngIf="data.thirdShiftActive && data.fourthShiftActive && data.fifthShiftActive && !data.useOnlyPlanHours && selectCurrentUserIsFirstUser$ | async"> |
574 | 563 | <div [formGroupName]="'fifthShift'"> |
575 | 564 | <ng-container *ngIf="selectCurrentUserIsAdmin$ | async"> |
576 | 565 | <div class="d-flex flex-row" |
|
0 commit comments