Skip to content

Commit

Permalink
refactor: fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanilsaha committed Jan 9, 2025
1 parent b62289e commit 099ebb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion erpnext/selling/page/point_of_sale/pos_item_details.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,13 @@ erpnext.PointOfSale.ItemDetails = class {
.find(classname)
.append(
`<div class="btn btn-sm btn-secondary auto-fetch-btn" style="margin-top: 6px">${label}</div>`
);
);
}

if (item.has_serial_no) {
this.$form_container.find(".serial_no-control").find("textarea").css("height", "6rem");
}

if (item.has_serial_no && item.has_batch_no) {
this.batch_no_control.df.read_only = 1;
}
Expand Down

0 comments on commit 099ebb3

Please sign in to comment.