Hi!
Apologies if this is a duplicate of http://drupal.org/node/567558 (which is closed and somewhat unrelated to what I want to do).
I'm working on a project that involves me creating a big sheet full of measurements (done as a custom content type with a bunch of different CCK fields), then invoicing an amount not based upon how long something took, but rather, the total area entered into this sheet.
Any idea the best way to go about doing this? I noticed the auto_add functionality in StormInvoice; think there'd be any way to open this up to all node types (not just Storm)? Would there be any utility to this for anybody other than me? Note that while I have quite a bit of PHP development experience, I'm somewhat of a Drupal neophyte and might be missing something obvious.
(That said -- I'd love to contribute code or documentation to this project, and will be especially apt to do so once I finish this project...)
Comments
Comment #1
juliangb commentedSorry for a slow reply to this, I hope it is a useful response even if perhaps not relevant for you any more.
The basic response is that linking CCK fields into Storm in this way will need some sort of custom code / additional custom module. However, there are functions defined in Storm that will provide a good template - and they are of the form stormproject_storminvoice_auto_add (replace stormproject with your own module name).
Hopefully this helps answer the question.