Customers can View their Payments and Balance

OK this is on uk staging for now, so please add any tweaks/requests here!

My list so far:

  • Smaller distributor logos, default to something sensible (tractor logo as in producers page?)
  • Some translations missing. I am guessing these need to be added to en-GB for UK. Is there any way to fall back to en.yml if a translation is missing rather than just show the translation key? I think we can mostly understand Australian :wink:
  • Also re translations, some of the text (order payment status) etc. comes direct from the database - can we assume that is already in the desired language or translated by spree in the case of order status etc?
  • The header of the page is a bit boring/blocky/crammed over to the left…any suggestions to make it look nicer??
  • Could be nice to have a background image a la producers page if someone wants to design one…

The page only shows orders with state: complete. Let me know if this is not correct.

Couple of screenshots below showing what happens with credit/debit. If all orders have been paid (ie balance zero, which I imagine will be the case for most) it doesn’t display anything, e.g. Simple Hub below.