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

View File

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