Merge pull request #37477 from GursheenK/editable-journal-entries
feat: editable journal entries
diff --git a/erpnext/selling/doctype/installation_note/installation_note.json b/erpnext/selling/doctype/installation_note/installation_note.json
index 18c7d08..1e22f44 100644
--- a/erpnext/selling/doctype/installation_note/installation_note.json
+++ b/erpnext/selling/doctype/installation_note/installation_note.json
@@ -24,6 +24,7 @@
"inst_time",
"status",
"company",
+ "project",
"amended_from",
"remarks",
"item_details",
@@ -225,13 +226,19 @@
"oldfieldtype": "Table",
"options": "Installation Note Item",
"reqd": 1
+ },
+ {
+ "fieldname": "project",
+ "fieldtype": "Link",
+ "label": "Project",
+ "options": "Project"
}
],
"icon": "fa fa-wrench",
"idx": 1,
"is_submittable": 1,
"links": [],
- "modified": "2023-06-03 16:31:08.386961",
+ "modified": "2024-02-04 18:20:12.020313",
"modified_by": "Administrator",
"module": "Selling",
"name": "Installation Note",
@@ -264,4 +271,4 @@
"states": [],
"timeline_field": "customer",
"title_field": "customer_name"
-}
\ No newline at end of file
+}
diff --git a/erpnext/selling/page/point_of_sale/pos_payment.js b/erpnext/selling/page/point_of_sale/pos_payment.js
index 63711c5..588b698 100644
--- a/erpnext/selling/page/point_of_sale/pos_payment.js
+++ b/erpnext/selling/page/point_of_sale/pos_payment.js
@@ -389,7 +389,7 @@
df: {
label: p.mode_of_payment,
fieldtype: 'Currency',
- placeholder: __('Enter {0} amount.', [p.mode_of_payment]),
+ placeholder: __('Enter {0} amount.', [__(p.mode_of_payment)]),
onchange: function() {
const current_value = frappe.model.get_value(p.doctype, p.name, 'amount');
if (current_value != this.value) {