Describe your bug or feature request.
I noticed today that it didn’t make sense to have the order balance tucked over on the sidebar with order timestamps. With a slight revision to the payment details in the billing information card, we can condense the information there and include the balance like so:

Aside from the balance moving in here, there are two other key changes.
We’re clearly signaling this is only showing the most recent payment.
The payment state in parentheses uses the dotted underline to signal a tooltip is visible on hover that shows the changed timestamp of the last payment.

One thought is that it does take a while for tooltips to appear. I’m wondering if Ivan Buisic or anyone else knows of a library that could regard these like links that when clicked would cause the tooltip to appear. Maybe there’s no way to force that via JS without a third-party tooltip library. If not, no worries - the goal would be to maintain the browser tooltip, and I’m going to open another ticket to add a link here to the payments tab for people who are too impatient to wait on the tooltip to use instead.
| Comment | File | Size | Author |
|---|---|---|---|
| billing-information-card.png | 88.12 KB | jsacksick | |
| billing-information-payment-details.png | 63.35 KB | jsacksick |
Issue fork commerce-3564785
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jsacksick commentedPushed my WIP, we need to add the tooltip etc...
Comment #6
jsacksick commentedAs part of this work, a created and changed fields were added to payments.