[ADD] Possibility of taking in considaration payslips for sum_historical_facts

Merged Santiago Said requested to merge fix-ra into 8.0-stage

Merge request reports