From bca8fe63ba82c79da833aed59faf8644af9a06ea Mon Sep 17 00:00:00 2001 From: juanf <juanf@ethz.ch> Date: Tue, 29 Aug 2023 12:44:04 +0200 Subject: [PATCH] SSDM-13842: missing barcode/qr code renaming --- .../eln-lims/html/js/views/SampleForm/SampleFormView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js index 2708c887e03..6d63b1cb4a0 100644 --- a/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js +++ b/ui-eln-lims/src/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/SampleFormView.js @@ -192,7 +192,7 @@ function SampleFormView(sampleFormController, sampleFormModel) { if(profile.isPropertyPressent(sampleType, "$BARCODE")) { dropdownOptionsModel.push({ - label : "Custom Barcode Update", + label : "Custom Barcode/QR Code Update", action : function() { BarcodeUtil.readBarcode([_this._sampleFormModel.sample]); } @@ -999,7 +999,7 @@ function SampleFormView(sampleFormController, sampleFormModel) { var $customBarcodeProperty = this._sampleFormModel.sample.properties["$BARCODE"]; if($customBarcodeProperty) { - var $customBarcodePropertyField = FormUtil.getFieldForLabelWithText("Custom Barcode", $customBarcodeProperty); + var $customBarcodePropertyField = FormUtil.getFieldForLabelWithText("Custom Barcode/QR Code", $customBarcodeProperty); $fieldset.append($customBarcodePropertyField); } } -- GitLab