customer table with translated customerKind

This commit is contained in:
Michael Hoennig 2019-05-02 11:52:41 +02:00
parent 2dd3deb17b
commit 8ae7547775
2 changed files with 4 additions and 4 deletions

View File

@ -29,8 +29,8 @@
<th>
<select class="form-control" [(ngModel)]="filter.criteria.kind" (change)="filter.trigger()">
<option value=""></option>
<option>NATURAL</option>
<option>LEGAL</option>
<option value="NATURAL" jhiTranslate="{{'hsadminNgApp.CustomerKind.NATURAL'}}">NATURAL</option>
<option value="LEGAL" jhiTranslate="{{'hsadminNgApp.CustomerKind.LEGAL'}}">LEGAL</option>
</select>
</th>
<th><button class="btn btn-primary float-left" (click)="filter.reset()">Reset Filter</button></th>

View File

@ -2,8 +2,8 @@
"hsadminNgApp": {
"CustomerKind": {
"null": "",
"NATURAL": "NATURAL",
"LEGAL": "LEGAL"
"NATURAL": "natürliche Person",
"LEGAL": "juristische Person"
}
}
}