From 7e4bc784eb8b42c424c98a2a7558aa865c7f1b2b Mon Sep 17 00:00:00 2001 From: Mark Williams Date: Fri, 13 Dec 2024 11:31:22 +0000 Subject: [PATCH] LIMS-1558: Add functionality for SMILES code for any sample --- client/src/js/modules/samples/views/view.js | 1 + client/src/js/templates/samples/sample.html | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/client/src/js/modules/samples/views/view.js b/client/src/js/modules/samples/views/view.js index 30777376e..e61bfe3db 100644 --- a/client/src/js/modules/samples/views/view.js +++ b/client/src/js/modules/samples/views/view.js @@ -108,6 +108,7 @@ define(['marionette', edit.create('DIMENSION3', 'text') edit.create('SHAPE', 'text') edit.create('COLOR', 'text') + edit.create('SMILES', 'text') if (!this.model.get('HASDATA')) { edit.create('CODE', 'text') diff --git a/client/src/js/templates/samples/sample.html b/client/src/js/templates/samples/sample.html index 5441c2012..c91892776 100644 --- a/client/src/js/templates/samples/sample.html +++ b/client/src/js/templates/samples/sample.html @@ -94,6 +94,11 @@

Sample Details

<%-COMMENTS%> +
  • + SMILES Code + <%-SMILES%> +
  • +
  • Barcode <%-CODE%>