You can do it either way.
The structure of the txt file ist easy:
esx:showNotification (original)
QBNotify: (replace)
First line the current trigger and just below the replacement.
In the example above its esx to qb but if you switch both lines
e.g
QBNotify:
esx:showNotification
now its qb to esx