No web view link salary slip email

why is there no web view link of doctype in salary slip email sent on submit?

Please check this solution -