removing batchCodeTable from UI

This commit is contained in:
frankknoll
2023-04-13 10:25:16 +02:00
parent 4f0806caf6
commit 5c205acd32
7 changed files with 22 additions and 227 deletions

View File

@@ -0,0 +1,14 @@
class BatchCodeSelectInitializer {
static initialize({batchCodeSelect, batchCodeDetails}) {
batchCodeSelect.select2({ minimumInputLength: 4 });
batchCodeSelect.on(
'select2:select',
function (event) {
const batchcode = event.params.data.id;
new HistogramView(batchCodeDetails).displayHistogramView(batchcode);
GoogleAnalytics.click_batchcode(batchcode);
});
batchCodeSelect.select2('open');
}
}