Is there a way to add a billing method/status line to invoice, generated by module Commerce Billy PDF?
I've been looking for a way for days and still cannot figure it out......
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
Go to the template directory of Billy PDF (commerce_billy/modules/commerce_billy_pdf/templates) and copy the file
to your theme directory. Thats the template of the generated pdf. You can simply edit this template and add the billing method i think.
You can access the order object via
$order = commerce_order_load($variables['elements']['#entity']->order_id);
inside of the template.