dolibarr icon indicating copy to clipboard operation
dolibarr copied to clipboard

Line break missing for 'targetwithdetails' mode in pdf_build_address() function

Open Thatoo opened this issue 1 year ago • 0 comments

Bug

The pdf_build_address() function accept as Address type for $mode :'source', 'target' and 'targetwithdetails', 'targetwithdetails_xxx'

The 'source' mode display like that image

we can see there is a line break between the address and the other contact details such as tel, email and website

but the 'targetwithdetails' mode display like that image

There is not line break between address and other contact details and thus it doesn't look harmonious.

Environment Version

15.0.3

Environment OS

debian 11

Environment Web server

nging

Environment PHP

7.4

Environment Database

mariadb

Environment URL(s)

No response

Expected and actual behavior

have one line break between address and other contact details in 'targetwithdetails' like it is for 'source'.

Steps to reproduce the behavior

No response

Attached files

No response

Thatoo avatar Sep 20 '22 15:09 Thatoo