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

[Intervention Sheet] - Description misaligned in the PDF #32749

Open
EmergyCH opened this issue Jan 22, 2025 · 8 comments
Open

[Intervention Sheet] - Description misaligned in the PDF #32749

EmergyCH opened this issue Jan 22, 2025 · 8 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@EmergyCH
Copy link

Bug

The generated PDF file using the Soleil template displays the description outside of the designated frame.

Image

Dolibarr Version

18-20.x

Environment PHP

7.4.33

Environment Database

MySQL or MariaDB 8.0.40-cll-lve

Steps to reproduce the behavior and expected behavior

  • Create an intervention sheet
  • Generate the PDF file

Attached files

No response

@EmergyCH EmergyCH added the Bug This is a bug (something does not work as expected) label Jan 22, 2025
@sonikf
Copy link
Contributor

sonikf commented Jan 22, 2025

Hi @EmergyCH
I can't reproduce in v.20.0.3 PHP 7.4

Image

@EmergyCH
Copy link
Author

Thank you for your message. After some research, I found that the left margin value defined in /config/PDF is not applied in the "Soleil" template.

In my case, I manually modified line 283 of the template at 15 (like as PDF configuration).

Image

@hregis
Copy link
Contributor

hregis commented Jan 27, 2025

@EmergyCH Is this the standard model or a custom model?

@EmergyCH
Copy link
Author

The standard model

@hregis
Copy link
Contributor

hregis commented Jan 27, 2025

@EmergyCH strange, me too, i don't have this problem in v20 with 10 instead 15

@hregis
Copy link
Contributor

hregis commented Jan 27, 2025

@EmergyCH can you check the pdf margin configuration ?

Image

@hregis
Copy link
Contributor

hregis commented Jan 27, 2025

@EmergyCH i can reproduce your problem with a left margin with 15

Image Image

@hregis
Copy link
Contributor

hregis commented Jan 27, 2025

@eldy @EmergyCH @sonikf better fix for this : #32812

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

3 participants