Commit Graph

618 Commits

Author SHA1 Message Date
Laurent Destailleur
b28ae5d8d3 Clean code 2023-12-27 12:12:20 +01:00
Laurent Destailleur
7193fae3dd Fix security on doc signature. Fix bad position of signature file. 2023-12-18 16:41:40 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Laurent Destailleur
1babae58a4 Fix with php-cs-fixer 2023-12-04 12:05:28 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
cb3a86a737 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-11-23 18:56:10 +01:00
Laurent Destailleur
a257dcfa48 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-23 18:48:52 +01:00
Laurent Destailleur
3294b721ac Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-23 18:46:57 +01:00
Laurent Destailleur
1c7239e6ff Fix type 2023-11-23 17:19:10 +01:00
atm-jonathan
48ba0ec2d0 FIX warning param $lineID getSpecialCode is negatif (#26826)
* FIX warning param $lineID getSpecialCode is negatif

* retour de PR

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-23 17:12:57 +01:00
atm-jonathan
253ebd0a8b FIX warning php8.2 undefined_array_key (#26830) 2023-11-23 17:08:07 +01:00
Frédéric FRANCE
25435eeb1a fix phpdoc (#26829)
* fix phpdoc

* Update pdf.lib.php
2023-11-23 17:07:32 +01:00
Laurent Destailleur
ff38cc4bdd Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-20 20:02:30 +01:00
Laurent Destailleur
cabd0937d0 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-11-20 19:59:34 +01:00
Laurent Destailleur
d1a80920ff Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-11-20 19:53:50 +01:00
Maxime Kohlhaas
ef1916f0db Fix : translated product desc was overwriting desc even if text was added after (#26687) 2023-11-18 14:15:34 +01:00
HENRY Florian
a3437c7207 fix: display details quantity in Kit in PDF #26359 (#26454)
* add detail qty in kit displayed in PDF line

* fix: #26359
2023-11-03 16:27:02 +01:00
Mohamed DAOUD
08ef416958 New: Adding the PDF option displaying the product's barcode number (#26345)
* Add a PDF option to show barcode number of product

* Add space before and after IF keyword

* fix error phpcs

* add barcode label before barcode number

* Use outputlangs and not langs

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-10-30 03:13:12 +01:00
Laurent Destailleur
ca3c7f0a37 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-26 13:52:22 +02:00
Laurent Destailleur
6822afac31 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-10-26 13:48:33 +02:00
HENRY Florian
7e3b098f78 fix: when option MAIN_USE_COMPANY_NAME_OF_CONTACT is set the VAT num have to be the VAT num of thirdparty of contact (#26371) 2023-10-26 12:28:00 +02:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
dolibarr95
879c6d1e1f NEW Add more company informations (ProfId7 to 10) (#25266)
* Update company.php

Add more "company  professional" Id informations.
4 new constants

* Update pdf.lib.php

pdf page footer add ProfId

* Update pdf.lib.php

add profid10

* Update companies.lang

ProfId 7 to 10
2023-10-12 17:44:08 +02:00
Laurent Destailleur
616f0e41d4 Clean code 2023-10-11 02:54:19 +02:00
Laurent Destailleur
98ca102e1c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-10 21:48:07 +02:00
Dev2a
fcd4c4e429 Fix: Change access to $conf->global to function getDolGlobal (automatique) 2023-10-08 23:19:49 +02:00
Laurent Destailleur
272c51164b Fix typo Productcustomerprice into ProductCustomerPrice 2023-08-24 15:08:33 +02:00
Laurent Destailleur
61adc1854e FIX #24839 2023-05-21 11:13:58 +02:00
Laurent Destailleur
98067fbfb4 Fix warnings 2023-05-02 04:46:23 +02:00
Laurent Destailleur
382f45ec14 Clean code 2023-04-30 03:36:02 +02:00
Laurent Destailleur
e058cceecf Update pdf.lib.php 2023-04-10 13:26:04 +02:00
Erik van Berkum
ecb2492675 fix: Format thirdparty address label on pdf. Currently, an extra blank line is displayed between city/state and before country 2023-04-10 18:59:24 +09:00
Laurent Destailleur
89aa79058c Code comment 2023-03-31 19:47:52 +02:00
Laurent Destailleur
2bdc7f33dc Better tooltip on some setup pages 2023-03-25 12:40:23 +01:00
Laurent Destailleur
b49b0126a6 Merge branch 'develop' into pdf.lib.php 2023-03-12 18:47:40 +01:00
Laurent Destailleur
836717cced Update pdf.lib.php 2023-03-12 18:42:35 +01:00
Laurent Destailleur
20d6320818 Update pdf.lib.php 2023-03-12 18:39:58 +01:00
Laurent Destailleur
283d0ce785 Update pdf.lib.php 2023-03-12 18:38:26 +01:00
Laurent Destailleur
a19b2a11fb Merge pull request #24033 from frederic34/patch-13
pagination works with any font
2023-03-02 18:15:24 +01:00
Laurent Destailleur
b0b1e8d327 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-27 03:40:12 +01:00
stickler-ci
9f2c450953 Fixing style errors. 2023-02-26 10:17:38 +00:00
Philippe GRAND
014aec72c2 fix : Warning: Undefined array key height in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/lib/pdf.lib.php on line 2513 2023-02-26 11:12:06 +01:00
Frédéric FRANCE
67d9934aa1 pagination works with any font 2023-02-24 10:54:23 +01:00
Laurent Destailleur
a64ed59e18 Merge 2023-02-23 22:25:56 +01:00
Laurent Destailleur
610ab03f0d Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-22 14:38:25 +01:00
Laurent Destailleur
da503e6c58 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-02-22 14:33:59 +01:00
Laurent Destailleur
70c99b1f79 Fix pdf 2023-02-21 18:32:36 +01:00
Laurent Destailleur
1f3aa24c8a Fix missing date delivery on invoice 2023-02-21 16:56:16 +01:00
root
728c2ef238 Add options in function pdf_pagefoot & pdf_pagehead of pdf.lib.php - Revision 2 2023-02-11 18:02:28 +01:00
habot-it
329d8d01a6 Add options in function pdf_pagefoot & pdf_pagehead of pdf.lib.php - Revision 1
Hello @eldy,

In pdf_pagehead function :

    Add MAIN_USE_BACKGROUND_ON_PDF_ALPHA option for change opacity of the background
     ̶S̶e̶t̶P̶a̶g̶e̶M̶a̶r̶k̶ ̶m̶o̶v̶e̶d̶ ̶t̶o̶ ̶f̶i̶x̶e̶ ̶t̶h̶e̶ ̶s̶a̶m̶e̶ ̶p̶r̶o̶b̶l̶e̶m̶ ̶o̶f̶ ̶M̶A̶I̶N̶_̶U̶S̶E̶_̶B̶A̶C̶K̶G̶R̶O̶U̶N̶D̶_̶O̶N̶_̶P̶D̶F̶ ̶b̶u̶t̶ ̶f̶o̶r̶ ̶M̶A̶I̶N̶_̶A̶D̶D̶_̶P̶D̶F̶_̶B̶A̶C̶K̶G̶R̶O̶U̶N̶D̶ ̶t̶o̶o̶

In pdf_pagefoot function :

    Add PDF_FOOTER_HIDDEN to hide all footer (page number will no hidden)
    Add PDF_FOOTER_PAGE_NUMBER_X & PDF_FOOTER_PAGE_NUMBER_Y to change XY position of the page number

Best regards,
Alban
2023-02-11 14:30:58 +01:00