Customize erpnext notifications

Hello Friends,
I want to change some logics on notifications which occur in the header.
for example if the current user having role of Sales Admin then its logic for particular module should be changed. Can anyone help me how to do that ?? Any help will be highly appreciatable

@rmehta @adityaduggal @khopadi please help me in this matter if you can …