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

View File

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