Jump to content

How to check if a status allows for invoice download?


Thissel

Recommended Posts

Hi,

 

Does anyone know if there's a simple way to check if Invoice is activated for a certain order status in PS 1.4.10?

 

13DDQ.png

 

More precisely, what I am asking for, is a snippet of code to check if there's a green check mark in the Invoice-column for any given status.

 

The snippet is to be used in Orderhistory.php, in order to attach pdf invoice for all e-mails that are related to statuses for which Invoice is activated.

 

Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...