mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
[precision] server side cleanup and client side precision method
This commit is contained in:
@@ -13,8 +13,7 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
wn.provide('erpnext.utils');
|
||||
wn.provide("erpnext.utils");
|
||||
|
||||
erpnext.get_currency = function(company) {
|
||||
if(!company && cur_frm)
|
||||
@@ -23,4 +22,4 @@ erpnext.get_currency = function(company) {
|
||||
return wn.model.get(":Company", company).default_currency || wn.boot.sysdefaults.currency;
|
||||
else
|
||||
return wn.boot.sysdefaults.currency;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user