Trying to delete an agreement line using the "Delete" option from the Agreement line view actions menu does not delete agreement line.
Steps to Reproduce:
- Create an agreement and add an agreement line
- View the agreement line
- Click "Actions" and choose "Delete"
- Confirm deletion in dialogue
Agreement line deleted
Agreement line not deleted
Needs to be pointing at the agreements endpoint, not the agreements line one, and I need to add json key into that payload for it to send it down.