I'm looking at various ways to cleanup Storm so that it only contains specialist functionality - and more generic functionality can be outsourced to other Drupal modules.
I think the pdf invoice and send pdf invoice via email functionality could easily utilise the print module. Storm would only have to provide a template.
Comments
Comment #1
paulhudson commentedAgree,
You know, the invoice module (http://drupal.org/project/invoice) does a really nice job:
has PDF and print support - also already has a nice template for each
create multiple line items through ajax
stores line items temporally in case of browser crash
I'm not familiar with Storm at the moment so not sure how feasible it would be to implement the invoice module as a storm plugin.
I like the look of storm but can see already that I'm going to get really tied of the create invoice page and I don't really want to have to create a template for the print/pdf (nor do I suspect other people will).
Does the above have any traction? I can spend a bit of time on the development.
best, Paul
Comment #2
juliangb commentedSee also #1120238: Integrate with Invoice module for a suggestion of integrating with the invoice module.
I am very keen on increasing integration with other modules where appropriate to avoid Storm reinventing the wheel.
Comment #3
paulhudson commentedThanks for the response, I'll continue the tread in your link. :-)
Paul Hudson
Comment #4
juliangb commentedI'd like to keep this issue open until something is committed to Storm that makes this unnecessary - the reason being that this looks to me to be a quick win simplification for Storm.
Comment #5
juliangb commentedI've removed the custom code for generating pdf invoices as part of the port to Drupal 7.
When it goes back, it should be in the form of css for the print module.
Comment #6
undersound3 commentedPerhaps this issue can be closed looking at https://drupal.org/node/2137797?
Comment #7
juliangb commentedMight be, but I don't know at the moment how good the styles are when using print.
As part of this issue, we may be able to implement a specfic print stylesheet that ensured that the invoice comes out neatly.
What are your thoughts, as someone using it in practice?
Comment #8
d34dman commentedTagging this to collect all invoice related issues.
Comment #9
d34dman commentedIs "storm-initiative-outsourcing" tag still valid?
Comment #10
juliangb commentedNope.
Comment #11
juliangb commentedWe are no longer defining our own invoice content type. The PM Invoice project hooks into other Invoice modules.