HOTFIX 2015.1 - Added a $$PAYMENTMETHODWITHAMOUNT$$ merge code to the Order Invoice page

Comments

2 comments

  • Kathy Sechrist

    Is there a way to fix the spacing on this merge code? I'm using it on invoices, and it runs things together without proper spacing - here's an example (customer info replaced with generic info, but spacing is exactly as follows)

    Firstname LastnameVisa: xxxx-9999exp: 7/2021 Payment Amount:
    $196.06

    0
  • peeyush

    $('#rpInvoice_ctl00_ctl00_rpPaymentMethods_ctl00_ctlPaymentMethod_lblPaymentMethod').html($('#rpInvoice_ctl00_ctl00_rpPaymentMethods_ctl00_ctlPaymentMethod_lblPaymentMethod').html().split('<br>').filter(a=>a!='').map(function(res){return  '<div>'+res+'</div>'}).join(''));

    Note: put this jquery code in bottom of your OrderInvoice page. See screenshot

    0

Please sign in to leave a comment.

We're Here To Help


Standard Support Hours: Monday-Friday 8AM-5PM CST
Looking for Premium Support? Just ask!

Speak to a live person
1 (800) 936-9006
Submit A Support Ticket
Submit Your Ticket Here