mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
Fix translate appraisal.js
This commit is contained in:
@@ -45,7 +45,7 @@ cur_frm.cscript.score = function(doc,cdt,cdn){
|
|||||||
var d = locals[cdt][cdn];
|
var d = locals[cdt][cdn];
|
||||||
if (d.score){
|
if (d.score){
|
||||||
if (flt(d.score) > 5) {
|
if (flt(d.score) > 5) {
|
||||||
msgprint("Score must be less than or equal to 5");
|
msgprint(wn._("Score must be less than or equal to 5"));
|
||||||
d.score = 0;
|
d.score = 0;
|
||||||
refresh_field('score', d.name, 'appraisal_details');
|
refresh_field('score', d.name, 'appraisal_details');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user