fix(coding style): adding a few spaces
This commit is contained in:
parent
7fc6021ca5
commit
82e2bac891
@ -50,12 +50,12 @@ frappe.ui.form.on('Blanket Order', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
set_tc_name_filter: function(frm) {
|
set_tc_name_filter: function(frm) {
|
||||||
if (frm.doc.blanket_order_type === 'Selling'){
|
if (frm.doc.blanket_order_type === 'Selling') {
|
||||||
frm.set_query("tc_name", function() {
|
frm.set_query("tc_name", function() {
|
||||||
return { filters: { selling: 1 } };
|
return { filters: { selling: 1 } };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (frm.doc.blanket_order_type === 'Purchasing'){
|
if (frm.doc.blanket_order_type === 'Purchasing') {
|
||||||
frm.set_query("tc_name", function() {
|
frm.set_query("tc_name", function() {
|
||||||
return { filters: { buying: 1 } };
|
return { filters: { buying: 1 } };
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user