Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to create a list of user invoices and am looking for a way to create a 'print pdf' per invoice item inside an overview table. That way a user can easily print his or her invoices for their own administration without opening each individual pdf node.
In the latest version 7.x-1.1 I don't see a way to get any field from the actual invoice. Fields like invoice number, invoice amount or even a direct link to a pdf. I am now using the print module to solve this based on its nid.
Having views support would make the module more flexible and useful.
Comments
Comment #1
Martijn Houtman CreditAttribution: Martijn Houtman commentedI've created a small module which shows how to integrate this module with Views. It's still in sandbox mode, feedback and/or contributions are welcome. Let me know if this works for you.
It currently only adds the pay status and an invoice amount per item, but using aggregate, you can display the sum of the items, too.
http://drupal.org/sandbox/MartijnHoutman/2000842
Comment #2
danon1981 CreditAttribution: danon1981 commentedI am handling invoices without the invoice module at the moment. I do consider using invoice for another project and I will definitely have at look at this.
Comment #2.0
danon1981 CreditAttribution: danon1981 commentedTypo