style: fix the message for reason for hold
diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.js b/erpnext/buying/doctype/purchase_order/purchase_order.js
index c66c66d..7d22160 100644
--- a/erpnext/buying/doctype/purchase_order/purchase_order.js
+++ b/erpnext/buying/doctype/purchase_order/purchase_order.js
@@ -36,7 +36,7 @@
},
refresh: function(frm) {
- if(frm.doc.docstatus == 1 && frm.doc.status != 'Closed'
+ if(frm.doc.docstatus == 1 && frm.doc.status != 'Closed'
&& flt(frm.doc.per_received) < 100 && flt(frm.doc.per_billed) < 100) {
frm.add_custom_button(__('Update Items'), () => {
erpnext.utils.update_child_items({
@@ -432,7 +432,7 @@
}
},
- unhold_purchase_order: function(){
+ unhold_purchase_order: function(){
cur_frm.cscript.update_status("Resume", "Draft")
},
@@ -454,7 +454,7 @@
args: {
reference_doctype: me.frm.doctype,
reference_name: me.frm.docname,
- content: __('Reason for hold:')+data.reason_for_hold,
+ content: __('Reason for hold: ')+data.reason_for_hold,
comment_email: frappe.session.user
},
callback: function(r) {