hide Payments on invoices

0
Using the frontend component, is it possible to set the default view of payments so that the user has to select an invoice before payments are shown.

I have a bunch of users, that will pay their invoices via standing order meaning that if there 100 invoices x 4 payments this view is too long and not ideal, obviously I can select an invoice and this then limits the view.



i've been through assest/slider.js to write a hider but that didnt work. any ideas.
Attachments:
Responses (3)
  • Accepted Answer

    Wednesday, January 09 2013, 11:56 PM - #Permalink
    0
    hello

    well, the way you say is the way to go, actually, just writting a hider.
    try this:

    on the slider.js file, just after the window.addEvent (pretty much at the beginning), add this:

    $$('.paymentline').each(function(elpayment) {

    elpayment.addClass('paymenthide');

    });

    that should do the trick...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 10 2013, 08:14 AM - #Permalink
    0
    As always, thank you for your quick response.

    This has solved that problem. A very useful feature.

    It might be worth having this in as default, especially when lists are long.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 10 2013, 09:43 AM - #Permalink
    0
    it could be a good idea. I'll think about that! :)
    The reply is currently minimized Show
Your Reply