show expiry date in setup home page
This commit is contained in:
parent
9b924ce695
commit
197d1b4e55
@ -17,4 +17,9 @@
|
|||||||
pscript.onload_Setup = function(wrapper) {
|
pscript.onload_Setup = function(wrapper) {
|
||||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Setup');
|
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Setup');
|
||||||
erpnext.module_page.hide_links(wrapper);
|
erpnext.module_page.hide_links(wrapper);
|
||||||
|
if(wn.boot.expires_on) {
|
||||||
|
$(wrapper).find(".layout-main")
|
||||||
|
.prepend("<div class='alert'>Your ERPNext account will expire on "
|
||||||
|
+ wn.datetime.global_date_format(wn.boot.expires_on) + "</div>");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user