Skip to content

Commit

Permalink
fix: linters issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored Feb 15, 2023
1 parent a7b682e commit f65e471
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions erpnext/stock/doctype/material_request/material_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ frappe.ui.form.on('Material Request', {
() => frm.events.create_pick_list(frm), __('Create'));
}

if (frm.doc.material_request_type === "Material Transfer") {
if (frm.doc.material_request_type === 'Material Transfer') {
add_create_pick_list_button();
frm.add_custom_button(__("Material Transfer"),
frm.add_custom_button(__('Material Transfer'),
() => frm.events.make_stock_entry(frm), __('Create'));

frm.add_custom_button(__("Material Transfer (In Transit)"),
frm.add_custom_button(__('Material Transfer (In Transit)'),
() => frm.events.make_in_transit_stock_entry(frm), __('Create'));
}

Expand Down Expand Up @@ -372,7 +372,7 @@ frappe.ui.form.on('Material Request', {
})
},
__('In Transit Transfer'),
__("Create Stock Entry")
__('Create Stock Entry')
)
},

Expand Down

0 comments on commit f65e471

Please sign in to comment.