How to send System Notification to Leave Approver?


We want to send a System Notification to the leave approver.
By default Email is there but there is no System Notification.
What need to be done?

Setup Notifications using Notification Doctype and enable Send System Notification

Yes. Thats working. But the Approver gets 2 emails, one from Leave Application (if the Email checkbox is clicked) and one from Notification (Email Notification).
Is there any way where I can create a separate Notification for System Notification? In that case what condition I need to write?

I tried this condition in Recipient

frappe.db.get_value(“User”,{“name”:frappe.session.user}, “email”) == leave_approver

frappe.db.get_value(“User”,{“name”:frappe.session.user}, “email”) this condition is work???