The print format of an invoice is perfect for online viewing. Except that I have enabled auth and hence I cannot giveout the link since it will redirect to the login page.
I'm searching the source to find where it checks if the user is logged in but cant seem to find it.
I want to add an if-statement to allow the user to view the page (even if they are not logged in). This will only be applied when they are viewing the invoice print page.