Drupal Association members fund grants that make connections all over the world.
I've got a view which is accessible via a url. It's function is to produce a commerce invoice. I've used a hook_commerce_price_formatted_components() function to alter the output of the view in my theme's template.php.
When i view /user/%/invoice/%, the pdf is rendered 100% correct, including my custom hook.
When rules saves the same pdf to the server-side disk, the file does not include my custom hook, so output is wrong.
Since the file being saved is an invoice, the file should meet law regulations. The hook fixes that. Last hurdle: getting it in the saved pdf.
I've set priority to major because of high importance of invoicing.
I've tested this in dev versions 25 and 26. Issue is the same.
Thanks for any help and the great module :)