Dynamic salary amount ignored for Net Pay Calculation[HRMS, Payroll]

I have salary structure looks like this:

My objective is later in my employee salary slip, my finance can input “Arrear” amount by themself.

First image before we input any amount in Arrear component:

Second after we input some amount:

Everything looks going well, the issue come when I save the document.

My “earnings” components total are 5,750,000 but why the Gross Pay still 5,000,000 ??

it is affect the Net Pay as well if i have “deductions” component.

Anyone experienced it before?

I know the cause,
My “Arrear” component still has “Depend on Payment Days” checked.

Once I uncheck the option, now it is calculating correctly