fix: create multiple variants button count and status (#35915)

fix: change class for fetching columns in multiple variants
This commit is contained in:
Gursheen Kaur Anand
2023-06-28 15:39:00 +05:30
committed by GitHub
parent 5113a417a1
commit b9e9204e52

View File

@@ -590,7 +590,7 @@ $.extend(erpnext.item, {
let selected_attributes = {};
me.multiple_variant_dialog.$wrapper.find('.form-column').each((i, col) => {
if(i===0) return;
let attribute_name = $(col).find('.control-label').html().trim();
let attribute_name = $(col).find('.column-label').html().trim();
selected_attributes[attribute_name] = [];
let checked_opts = $(col).find('.checkbox input');
checked_opts.each((i, opt) => {