ソースを参照

[fix] filter formatting (#3729)

version-14
Rushabh Mehta 8年前
committed by Makarand Bauskar
コミット
a99b49be96
1個のファイルの変更7行の追加2行の削除
  1. +7
    -2
      frappe/public/js/frappe/form/formatters.js

+ 7
- 2
frappe/public/js/frappe/form/formatters.js ファイルの表示

@@ -64,8 +64,13 @@ frappe.form.formatters = {
precision = decimals.length;
}
}
return frappe.form.formatters._right((value==null || value==="")
? "" : format_currency(value, currency, precision), options);
value = (value==null || value==="") ?
"" : format_currency(value, currency, precision);
if (options.for_print) {
return value;
} else {
return frappe.form.formatters._right(value, options);
}
},
Check: function(value) {
if(value) {


読み込み中…
キャンセル
保存