Miscellaneous payments always draft status

Hello, all miscellaneous payments showing draft status even accounted in ledger, it seems something in missing
attached screenshot
dolibarr 19.0.2

Hi @Ghonz
It seems that the way miscellaneous payments are implemented, status is just a label with a hard coded value in code and not saved in db as no such field exists in table payment_various.
I will submit a PR to change the label to ‘Paid’ as in other payments