Due date is not prefiled when new invoice created

I am running self hosted instance version 5.7.6, configured clients with payment terms Net 30.
When new invoice is saved , I notice invoice number is generated but unfortunately do not see updated due date according to default payment terms.
Am I overlooking some settings ?

Any advice appreciated.

is it configured per client or in settings → defaults?

Hi,

The due date is calculate/set when the invoice is marked as sent.

Hi Hillel,
You are totally right ,worked like a charm once marked as sent .
Thanks a lot

Glad to hear it, thanks for the update!