WEB-648 refactor: replace magic numbers with LegalFormId enum (#3068)
This commit is contained in:
+2
-2
@@ -181,7 +181,7 @@
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (createClientForm.value.legalFormId === 1) {
|
||||
@if (createClientForm.value.legalFormId === LegalFormId.PERSON) {
|
||||
<mat-form-field class="flex-48">
|
||||
<mat-label>{{ 'labels.inputs.Gender' | translate }}</mat-label>
|
||||
<mat-select formControlName="genderId">
|
||||
@@ -205,7 +205,7 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
@if (createClientForm.value.legalFormId === 1) {
|
||||
@if (createClientForm.value.legalFormId === LegalFormId.PERSON) {
|
||||
<mat-checkbox class="flex-48 margin-v" labelPosition="before" formControlName="isStaff">
|
||||
{{ 'labels.inputs.Is staff' | translate }}?
|
||||
</mat-checkbox>
|
||||
|
||||
Reference in New Issue
Block a user