fixes no trial

This commit is contained in:
Rushabh Mehta 2011-07-06 10:42:21 +05:30
parent cac4473fec
commit 33a7f28113

View File

@ -448,7 +448,7 @@ pscript.startup_setup_toolbar = function() {
// Manage account
// --------------
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{
@ -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
// ====================================================================
show_chart_browser = function(nm, chart_type){