mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 09:43:49 +00:00
[website] [minor] moving to framework
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
|
||||
import webnotes, conf, os
|
||||
from webnotes.utils import cint, cstr, encode
|
||||
|
||||
def get_website_settings():
|
||||
return {
|
||||
"shopping_cart_enabled": cint(webnotes.conn.get_default("shopping_cart_enabled"))
|
||||
}
|
||||
|
||||
@webnotes.whitelist()
|
||||
def update_profile(fullname, password=None, company_name=None, mobile_no=None, phone=None):
|
||||
|
||||
Reference in New Issue
Block a user