Relocate Public Terms / Unable to remove Default Documents

Dear,

Invoiceninja Self Hosted - White Label

On the invoice design i want to move the Public notes to the top (below contact information details, above the products and discriptions) instead of where its located now on the bottom. Can someone help me please?
I think it has something to do with the code under ‘Settings -> Invoice Designs -> Customize’ but i am not sure about this.

The second problem i face:
I uploaded testfiles on ‘Settings -> Invoice settings -> Defaults -> Documents’.
Now i am unable to remove them. When i click ‘remove file’ it goes away, when i save the page and it reloads, the documents return.

Thanks in advance for your help.
Friendly Regards,
Robbe

Hi,

This video may help: https://www.youtube.com/watch?v=pXQ6jgiHodc

As a workaround you can manually delete the row from the documents table in the database