Redirect when changing between companies

Hi,

I have 2 “companies” in InvoiceNinja, when switching between the two you get redirected to the previous url which opens the invoice with the same ID.

For example, when you are editing an invoice (/invoices/11/edit) and switch to the other company the invoice with ID 11 (/invoices/11/edit) of that company will be loaded. This is pretty confusing.

Would be better to redirect to the dashboard when switching.

Kind regards,
David

Agreed, we’re planning on changing this in our next release.

If you’re in the settings area we’ll leave you on the same page otherwise we’ll redirect to the dashboard.

Good idea! Thanks.