From 1b373503a61607e50b7893fe8cef824642716540 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 20 Jul 2021 11:07:04 +0200 Subject: [PATCH] Added translation & removed fields property --- modules/client/front/sample/create/index.html | 7 ++++--- modules/client/front/sample/create/locale/es.yml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/client/front/sample/create/index.html b/modules/client/front/sample/create/index.html index a0294e1f88..2d0f3d29ce 100644 --- a/modules/client/front/sample/create/index.html +++ b/modules/client/front/sample/create/index.html @@ -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"> + ng-if="sampleType.selection.datepickerEnabled" + required="true"> diff --git a/modules/client/front/sample/create/locale/es.yml b/modules/client/front/sample/create/locale/es.yml index a534e05d49..b72d456d8a 100644 --- a/modules/client/front/sample/create/locale/es.yml +++ b/modules/client/front/sample/create/locale/es.yml @@ -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