mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
#4243 kein Kundenkarten-Checkbox fuer HSC
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
<shared-checkbox
|
||||
*ngIf="customerType !== 'b2b'"
|
||||
[ngModel]="p4mUser"
|
||||
(ngModelChange)="setValue({ p4mUser: !p4mUser })"
|
||||
[disabled]="p4mReadonly || readonly"
|
||||
>
|
||||
Kundenkarte
|
||||
</shared-checkbox>
|
||||
<ng-container *ifRole="'Store'">
|
||||
<shared-checkbox
|
||||
*ngIf="customerType !== 'b2b'"
|
||||
[ngModel]="p4mUser"
|
||||
(ngModelChange)="setValue({ p4mUser: !p4mUser })"
|
||||
[disabled]="p4mReadonly || readonly"
|
||||
>
|
||||
Kundenkarte
|
||||
</shared-checkbox>
|
||||
</ng-container>
|
||||
<ng-container *ngFor="let option of filteredOptions$ | async">
|
||||
<shared-checkbox
|
||||
*ngIf="option?.enabled !== false"
|
||||
|
||||
@@ -4,9 +4,10 @@ import { CommonModule } from '@angular/common';
|
||||
import { CustomerTypeSelectorComponent } from './customer-type-selector.component';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { CheckboxComponent } from '@shared/components/checkbox';
|
||||
import { AuthModule } from '@core/auth';
|
||||
|
||||
@NgModule({
|
||||
imports: [CommonModule, FormsModule, CheckboxComponent],
|
||||
imports: [CommonModule, FormsModule, CheckboxComponent, AuthModule],
|
||||
exports: [CustomerTypeSelectorComponent],
|
||||
declarations: [CustomerTypeSelectorComponent],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user