[MOD] pre invoice and invoice detail reports

Merged Marco Folco requested to merge SOF-90-Quitar_cantidad_prestaciones into 12.0-stage

Added feature to print the report even for capitated insurances. Now it takes the benefits based on the parameters of the medical invoice that generated the invoice

Merge request reports