[Fix] Notification count not showing for the doctypes like purchase order, sales invoice (#6657)
This commit is contained in:
parent
ed80e9dff1
commit
574446e092
2 changed files with 2 additions and 2 deletions
|
|
@ -323,7 +323,7 @@ $.extend(frappe.desktop, {
|
|||
|
||||
// if module found
|
||||
if(module._id.indexOf('/')===-1 && !module._report) {
|
||||
var notifier = $(".module-count-" + module._id);
|
||||
var notifier = $(".module-count-" + frappe.scrub(module._id));
|
||||
if(notifier.length) {
|
||||
notifier.toggle(sum ? true : false);
|
||||
var circle = notifier.find(".circle-text");
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
data-name="{{ module_name }}" data-link="{{ link }}" title="{{ _label }}">
|
||||
{{ app_icon }}
|
||||
<div class="case-label ellipsis">
|
||||
<div class="circle module-count-{{ _id }}" data-doctype="{{ _doctype }}" style="display: none;">
|
||||
<div class="circle module-count-{{ frappe.scrub(_id) }}" data-doctype="{{ _doctype }}" style="display: none;">
|
||||
<span class="circle-text"></span>
|
||||
</div>
|
||||
<!-- <span id="module-count-{{ _id }}" class="octicon octicon-primitive-dot circle" style="display: None"></span> -->
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue