Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
timo-ecm2 opened this issue Oct 18, 2022 · 2 comments
Labels
Area: PDFs Issues & PRs related to all things regarding PDFs Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Type: Bug Bugs within the core SuiteCRM codebase

Comments

@timo-ecm2
Copy link

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

@GeeteshMehto
Copy link

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

@timo-ecm2
Copy link
Author

@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

@johnM2401 johnM2401 added Type: Bug Bugs within the core SuiteCRM codebase Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Area: PDFs Issues & PRs related to all things regarding PDFs labels Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: PDFs Issues & PRs related to all things regarding PDFs Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Type: Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

3 participants