mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
chore: fix conflicts
This commit is contained in:
@@ -96,18 +96,9 @@ frappe.ui.form.on("Material Request", {
|
|||||||
refresh: function (frm) {
|
refresh: function (frm) {
|
||||||
frm.events.make_custom_buttons(frm);
|
frm.events.make_custom_buttons(frm);
|
||||||
frm.toggle_reqd("customer", frm.doc.material_request_type == "Customer Provided");
|
frm.toggle_reqd("customer", frm.doc.material_request_type == "Customer Provided");
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
prevent_past_schedule_dates(frm);
|
|
||||||
frm.trigger("set_warehouse_label");
|
frm.trigger("set_warehouse_label");
|
||||||
},
|
},
|
||||||
|
|
||||||
transaction_date(frm) {
|
|
||||||
prevent_past_schedule_dates(frm);
|
|
||||||
frm.set_value("schedule_date", "");
|
|
||||||
>>>>>>> 699e9b4452 (fix: label for warehouse based on material request type)
|
|
||||||
},
|
|
||||||
|
|
||||||
set_from_warehouse: function (frm) {
|
set_from_warehouse: function (frm) {
|
||||||
if (frm.doc.material_request_type == "Material Transfer" && frm.doc.set_from_warehouse) {
|
if (frm.doc.material_request_type == "Material Transfer" && frm.doc.set_from_warehouse) {
|
||||||
frm.doc.items.forEach((d) => {
|
frm.doc.items.forEach((d) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user