refactor(newbankentity): added id as entity code input + translation

This commit is contained in:
Carlos Jimenez Ruiz 2021-09-15 13:24:01 +02:00
parent 25fb02deff
commit 0f1b33802e
2 changed files with 16 additions and 6 deletions

View File

@ -14,8 +14,6 @@
ng-model="$ctrl.data.name" ng-model="$ctrl.data.name"
required="true"> required="true">
</vn-textfield> </vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield <vn-textfield
vn-one vn-one
vn-focus vn-focus
@ -24,13 +22,24 @@
ng-model="$ctrl.data.bic" ng-model="$ctrl.data.bic"
required="true"> required="true">
</vn-textfield> </vn-textfield>
<vn-autocomplete vn-one </vn-horizontal>
<vn-horizontal>
<vn-autocomplete
vn-one
vn-id="country"
ng-model="$ctrl.data.countryFk" ng-model="$ctrl.data.countryFk"
url="Countries" url="Countries"
fields="['id', 'country', 'code']"
show-field="country" show-field="country"
value-field="id" value-field="id"
label="Country"> label="Country">
</vn-autocomplete> </vn-autocomplete>
<vn-textfield
vn-one
ng-show="country.selection.code === 'ES'"
label="Entity code"
ng-model="$ctrl.data.id">
</vn-textfield>
</vn-horizontal> </vn-horizontal>
</tpl-body> </tpl-body>
<tpl-buttons> <tpl-buttons>

View File

@ -10,3 +10,4 @@ The postcode has been created. You can save the data now: Se ha creado el códig
The city has been created: Se ha creado la ciudad The city has been created: Se ha creado la ciudad
The province has been created: Se ha creado la provincia The province has been created: Se ha creado la provincia
The bank entity has been created. You can save the data now: Se ha creado la entidad bancaria. Puedes guardar los datos ahora The bank entity has been created. You can save the data now: Se ha creado la entidad bancaria. Puedes guardar los datos ahora
Entity code: Código de la entidad