Jump to content

How to check if a status allows for invoice download?


Thissel
 Share

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?

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More