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.

CommentFileSizeAuthor
invoices_row_plugin.patch3.21 KBhanoii

Comments

madsph’s picture

Co-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.

madsph’s picture

This 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) of theme/theme.inc

but other than that it is really awesome.

Thank you for the contribution - I have added it to cvs.

hanoii’s picture

I 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.

madsph’s picture

Yes I got an error that that uc_order_invoice was not a declared function.

Any way, I think is a really cool addition :-)

hanoii’s picture

Status: Needs review » Fixed

This has been committed already

madsph’s picture

Status: Fixed » Closed (fixed)