mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
fixes no trial
This commit is contained in:
@@ -448,7 +448,7 @@ pscript.startup_setup_toolbar = function() {
|
|||||||
// Manage account
|
// Manage account
|
||||||
// --------------
|
// --------------
|
||||||
if(is_system_manager) {
|
if(is_system_manager) {
|
||||||
$td(menu_tab,0,3).innerHTML = '<a style="font-weight: bold; color: #FFF;" href="javascript:pscript.go_to_account_settings()">Billing</a>';
|
$td(menu_tab,0,3).innerHTML = '<a style="font-weight: bold; color: #FFF;" href="#!billing">Billing</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
@@ -468,17 +468,6 @@ pscript.startup_setup_toolbar = function() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ====================================================================
|
|
||||||
|
|
||||||
pscript.go_to_account_settings = function() {
|
|
||||||
callback = function(r, rt) {
|
|
||||||
if(r.exc) { msgprint(r.exc); }
|
|
||||||
else { msgprint('<a href="' + r.message + '" target="_blank">'
|
|
||||||
+ 'Click here to open Account Settings in a new page</a>') }
|
|
||||||
}
|
|
||||||
$c_page('home', 'my_company', 'get_account_settings_url', '', callback)
|
|
||||||
}
|
|
||||||
|
|
||||||
// chart of accounts
|
// chart of accounts
|
||||||
// ====================================================================
|
// ====================================================================
|
||||||
show_chart_browser = function(nm, chart_type){
|
show_chart_browser = function(nm, chart_type){
|
||||||
|
|||||||
Reference in New Issue
Block a user