Przeglądaj źródła

Merge pull request #3732 from saurabh6790/formater_fix

[hot][fix] check if option exists
version-14
Saurabh 8 lat temu
committed by GitHub
rodzic
commit
a21ca34db7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      frappe/public/js/frappe/form/formatters.js

+ 1
- 1
frappe/public/js/frappe/form/formatters.js Wyświetl plik

@@ -66,7 +66,7 @@ frappe.form.formatters = {
}
value = (value==null || value==="") ?
"" : format_currency(value, currency, precision);
if (options.for_print) {
if (options && options.for_print) {
return value;
} else {
return frappe.form.formatters._right(value, options);


Ładowanie…
Anuluj
Zapisz