A long text, in a PDF created in accordance with the design of a standard PDF-Template, is strangely positioned. #4875

Open
opened 2026-02-20 16:25:28 -05:00 by deekerman · 2 comments
Owner

Originally created by @timo-ecm2 on GitHub (Oct 18, 2022).

Issue

If you want to use a standard PDF-Templates for a Quote and you have a longer text for field "description" in a html-table, it sets the content on top of each other. I thought that in the past the table was "more" flexible, because of specific CSS for the html-table. In the past the result was more like the picture below "Expected Behavior".

After a few simple tweak, I managed to redo it. Is it possible that the PDF-generator used in "Suite CRM 7.12.6 Sugar Version 6.5.25 (Build 344)" in combination with "TinyMCE Version: 3.5.12 (2016-10-31)" changed the output with a result a less flexible html-table because of different CSS?

Expected Behavior

The PDF-generator should give a result like below.
right

Actual Behavior

The PDF-generator gives this result below.
wrong

Possible Fix

I don't know.

Steps to Reproduce

  1. Go to module PDF - templates.
  2. Make a new PDF-template of type "Quote" en load with "Load Sample:" the Quote sample.
  3. Use this standard Quote sample.
  4. Go to module Quote en open a Quote where the field "Description" conaints a long text.
  5. Click on "Action > Print as PDF"
  6. See the result for field "Description" below.
    wrong

Your Environment

SuiteCRM Version used: 7.12.6
Browser name and version: Google Chrome Versie 104.0.5112.81 (Officiële build) (64-bits)
Environment name and version: MariaDB 10.5, PHP 7.4
Operating System and version User: Windows 11 - 22H2 - 22621.674

Originally created by @timo-ecm2 on GitHub (Oct 18, 2022). #### Issue If you want to use a standard PDF-Templates for a Quote and you have a longer text for field "description" in a html-table, it sets the content on top of each other. I thought that in the past the table was "more" flexible, because of specific CSS for the html-table. In the past the result was more like the picture below "Expected Behavior". After a few simple tweak, I managed to redo it. Is it possible that the PDF-generator used in "Suite CRM 7.12.6 Sugar Version 6.5.25 (Build 344)" in combination with "TinyMCE Version: 3.5.12 (2016-10-31)" changed the output with a result a less flexible html-table because of different CSS? #### Expected Behavior The PDF-generator should give a result like below. ![right](https://user-images.githubusercontent.com/51777898/196405114-b0250c9a-43a8-4b57-89c3-122639d736ed.png) #### Actual Behavior The PDF-generator gives this result below. ![wrong](https://user-images.githubusercontent.com/51777898/196405084-fff7f546-9770-402b-91d2-ce11b2f5a51c.png) #### Possible Fix I don't know. #### Steps to Reproduce 1. Go to module PDF - templates. 2. Make a new PDF-template of type "Quote" en load with "Load Sample:" the Quote sample. 3. Use this standard Quote sample. 4. Go to module Quote en open a Quote where the field "Description" conaints a long text. 5. Click on "Action > Print as PDF" 6. See the result for field "Description" below. ![wrong](https://user-images.githubusercontent.com/51777898/196405084-fff7f546-9770-402b-91d2-ce11b2f5a51c.png) #### Your Environment SuiteCRM Version used: 7.12.6 Browser name and version: Google Chrome Versie 104.0.5112.81 (Officiële build) (64-bits) Environment name and version: MariaDB 10.5, PHP 7.4 Operating System and version User: Windows 11 - 22H2 - 22621.674
Author
Owner

@GeeteshMehto commented on GitHub (Oct 19, 2022):

Hello sir, please assign this issue to me as i already worked on this kind of problem in past and has a great experience.

@GeeteshMehto commented on GitHub (Oct 19, 2022): Hello sir, please assign this issue to me as i already worked on this kind of problem in past and has a great experience.
Author
Owner

@timo-ecm2 commented on GitHub (Oct 20, 2022):

@GeeteshMehto , hi Geetesh again, also this one I am interested in finding out if it's anything. I hope you have a solid quality solution

@timo-ecm2 commented on GitHub (Oct 20, 2022): @GeeteshMehto , hi Geetesh again, also this one I am interested in finding out if it's anything. I hope you have a solid quality solution
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4875
No description provided.