Wednesday, May 22, 2024
2 changes · master
Enhancements to existing features
Leads generated from social media posts or comments now include any attached images, giving sales teams fuller context when following up. The lead description also formats social media links with proper spacing for clearer reading.
Original PR description
Purpose ======= Display the post/comment image(s) in the related generated lead description. Also fixing a missing spacing around the social media link in the lead description. Specifications ============== When generating a lead from a post/comment containing an image, only the post/comment message content is displayed in the lead description. Adding the display of the post/comment image(s) if there is. Task-3834228
Resolved issues and error corrections
Financial PDF reports now respect the “Hide lines at 0” option, so zero-value lines hidden on screen are also omitted when printed. This makes printed reports more consistent with the report view and reduces confusion for users comparing both versions.
Original PR description
When "Hide lines at 0" is toggled, lines at 0 are still included in the PDF report, despite being hidden in the report view. This leads to a difference between what the user sees and what is printed. Another reason to hide lines at 0 from the printed report is that lines with Hide if Zero checked does impact the PDF. This means the two options (Hide lines at 0 and Hide if Zero) have similar impacts in the user view but different behavior in printed reports. This commit implements the function _filter_out_0_lines to remove lines at 0 from printed report if "Hide lines at 0" is toggled. task-3888290