This is a nice one I think.
I needed a way to print several invoices at once and I wanted to use views to properly get the orders using exposed filters. I defined an 'Invoice' row plugin, so it can reder plugins from a filtered order list.
And just wondering, would you like to accept me as a co-maintainer by giving me CVS access? It's likely that I'll be on top of views and ubercart for a while and I might give you a hand with this module developer.
| Comment | File | Size | Author |
|---|---|---|---|
| invoices_row_plugin.patch | 3.21 KB | hanoii |
Comments
Comment #1
madsph commentedCo-maintainer very much needed - welcome on board :-)
i was about to ask if you were interested.
Your plugin sounds very interesting I will take a look into it, after I finish my next assignment.
Comment #2
madsph commentedThis is so cool :-D
I think you missed:
require_once drupal_get_path('module', 'uc_order') . '/uc_order.admin.inc';in
function template_preprocess_uc_views_view_row_invoice(&$vars)oftheme/theme.incbut other than that it is really awesome.
Thank you for the contribution - I have added it to cvs.
Comment #3
hanoiiI am actually using it without that include, did it throw an error when you tried it? But I guess it's safe to have it there. Probably uc_orders is somehow including it somewhere.
Comment #4
madsph commentedYes I got an error that that uc_order_invoice was not a declared function.
Any way, I think is a really cool addition :-)
Comment #5
hanoiiThis has been committed already
Comment #6
madsph commented