mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 19:49:18 +00:00
[website] [minor] moving to framework
This commit is contained in:
@@ -3,6 +3,11 @@
|
|||||||
|
|
||||||
import webnotes, conf, os
|
import webnotes, conf, os
|
||||||
from webnotes.utils import cint, cstr, encode
|
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()
|
@webnotes.whitelist()
|
||||||
def update_profile(fullname, password=None, company_name=None, mobile_no=None, phone=None):
|
def update_profile(fullname, password=None, company_name=None, mobile_no=None, phone=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user