If payment done how to modify payment terms

Hello,

Please advise how to change payment terms after payment done ? I want to modify but the little pen icon doesn’t appear.

Thank you