Added translation & removed fields property
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-07-20 11:07:04 +02:00
parent bfd6c995ad
commit 1b373503a6
2 changed files with 5 additions and 3 deletions

View File

@ -30,7 +30,6 @@
vn-id="sampleType"
ng-model="$ctrl.clientSample.typeFk"
model="ClientSample.typeFk"
fields="['code','hasCompany', 'hasPreview']"
data="samplesVisible"
show-field="description"
label="Sample"
@ -58,13 +57,15 @@
data="companiesData"
show-field="code"
label="Company"
ng-if="sampleType.selection.hasCompany">
ng-if="sampleType.selection.hasCompany"
required="true">
</vn-autocomplete>
<vn-date-picker
vn-one
label="From"
ng-model="$ctrl.clientSample.from"
ng-if="sampleType.selection.datepickerEnabled">
ng-if="sampleType.selection.datepickerEnabled"
required="true">
</vn-date-picker>
</vn-horizontal>
</vn-card>

View File

@ -1,5 +1,6 @@
Choose a sample: Selecciona una plantilla
Choose a company: Selecciona una empresa
Choose a date: Selecciona una fecha
Email cannot be blank: Debes introducir un email
Recipient: Destinatario
Its only used when sample is sent: Se utiliza únicamente cuando se envía la plantilla