More work on payments

Payments can now be edited inline
Start with import of payments