feat(payments): add a View button that opens the payment's page

Merged
JO
18d ago
+36-1

Add a View button to the Payments page

What changed

  • The Payments page now has a View button, next to Edit.
  • Select a payment in the table and click View to open that payment's own page, with all its details.
  • The button looks the same as the View button on Received Invoices.
  • Anyone who can see the Payments page can use it, not only people who can edit payments.
  • If nothing is selected, the button stays disabled.

How to test

  1. Go to Accounting → Payments.
  2. Select a payment in the table.
  3. Click View. The payment's page should open.
  4. Use the back link on that page to return to Payments.