From ccb9d62a145846b885fa1803e0f4f27530392083 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:13:46 +0200 Subject: [PATCH 01/50] Change comment to fixe a lot of undefined method --- .../core/modules/contract/doc/pdf_strato.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/contract/doc/pdf_strato.modules.php b/htdocs/core/modules/contract/doc/pdf_strato.modules.php index a3c549c48a7..4df4ec431c3 100644 --- a/htdocs/core/modules/contract/doc/pdf_strato.modules.php +++ b/htdocs/core/modules/contract/doc/pdf_strato.modules.php @@ -4,7 +4,7 @@ * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2008 Raphael Bertrand (Resultic) * Copyright (C) 2011 Fabrice CHERRIER - * Copyright (C) 2013-2019 Philippe Grand + * Copyright (C) 2013-2020 Philippe Grand * Copyright (C) 2015 Marcos García * Copyright (C) 2018 Frédéric France * @@ -500,7 +500,7 @@ class pdf_strato extends ModelePDFContract /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -550,7 +550,7 @@ class pdf_strato extends ModelePDFContract /** * Show footer signature of page - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param int $tab_top tab height position * @param int $tab_height tab height * @param Translate $outputlangs Object language for output @@ -579,8 +579,8 @@ class pdf_strato extends ModelePDFContract /** * Show top header of page. * - * @param PDF $pdf Object PDF - * @param CommonObject $object Object to show + * @param TCPDF &$pdf Object PDF + * @param CommonObject $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output * @return void From 0b7528010466177b212f2f2afd539de473743c94 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:19:55 +0200 Subject: [PATCH 02/50] Change comment to fixe a lot of undefined method --- .../core/modules/expedition/doc/pdf_espadon.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php index 2602caf8034..ddd08558b7a 100644 --- a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php @@ -671,7 +671,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Amount already paid * @param int $posy Start Position @@ -772,7 +772,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -822,7 +822,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1065,7 +1065,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 83d1ff2a6cfaf6f1935a95eadfc32597cdfb5ced Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:25:17 +0200 Subject: [PATCH 03/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/expedition/doc/pdf_merou.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_merou.modules.php b/htdocs/core/modules/expedition/doc/pdf_merou.modules.php index 5fbec0b2c68..c8035036307 100644 --- a/htdocs/core/modules/expedition/doc/pdf_merou.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_merou.modules.php @@ -438,7 +438,7 @@ class pdf_merou extends ModelePdfExpedition /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -480,7 +480,7 @@ class pdf_merou extends ModelePdfExpedition /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text @@ -509,7 +509,7 @@ class pdf_merou extends ModelePdfExpedition /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output From 8bdf15a6a60c25e5a98e5fa4e0300a5642ab3a59 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:28:25 +0200 Subject: [PATCH 04/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/expedition/doc/pdf_rouget.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php index dc29b6411f5..48141b36b4d 100644 --- a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php @@ -662,7 +662,7 @@ class pdf_rouget extends ModelePdfExpedition /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -769,7 +769,7 @@ class pdf_rouget extends ModelePdfExpedition /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -857,7 +857,7 @@ class pdf_rouget extends ModelePdfExpedition /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output From 38f4e0392d44850b0fb4aac14f261c5e44df0bcd Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:30:31 +0200 Subject: [PATCH 05/50] Change comment to fixe a lot of undefined method --- .../modules/expensereport/doc/pdf_standard.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php b/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php index 6d3bc5e8e65..6cdc7f4ffbc 100644 --- a/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php @@ -642,7 +642,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -866,7 +866,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param int $tab_top Tab top * @param int $tab_height Tab height * @param int $nexY next y @@ -980,7 +980,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show payments table * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object invoice * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -1092,7 +1092,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 0e0adcbe43dcb210c64a54ee5a0fc3c8b46ad8c9 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:33:19 +0200 Subject: [PATCH 06/50] Change comment to fixe a lot of undefined method --- .../core/modules/facture/doc/pdf_crabe.modules.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php index cd2f711d23a..51f554295ec 100644 --- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php @@ -780,7 +780,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show payments table * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object invoice * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -965,7 +965,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -1139,7 +1139,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Amount already paid (in the currency of invoice) * @param int $posy Position depart @@ -1464,7 +1464,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1586,7 +1586,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1889,7 +1889,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 857505a8873349ee681cd1d1020de3ab471c986b Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:36:23 +0200 Subject: [PATCH 07/50] Change comment to fixe a lot of undefined method --- .../modules/facture/doc/pdf_sponge.modules.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/core/modules/facture/doc/pdf_sponge.modules.php b/htdocs/core/modules/facture/doc/pdf_sponge.modules.php index 8695a46cae5..827e09081e7 100644 --- a/htdocs/core/modules/facture/doc/pdf_sponge.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_sponge.modules.php @@ -917,7 +917,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show payments table * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object invoice * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -1055,7 +1055,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param tcpdf $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -1225,7 +1225,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show total to pay * - * @param TCPDI $pdf Object PDF + * @param TCPDI $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Amount already paid (in the currency of invoice) * @param int $posy Position depart @@ -1760,7 +1760,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show table for lines * - * @param tcpdf $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1820,7 +1820,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show top header of page. * - * @param Tcpdf $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -2141,7 +2141,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text @@ -2157,8 +2157,8 @@ class pdf_sponge extends ModelePDFFactures /** * Define Array Column Field * - * @param object $object common object - * @param Translate $outputlangs langs + * @param object $object common object + * @param Translate $outputlangs langs * @param int $hidedetails Do not show line details * @param int $hidedesc Do not show desc * @param int $hideref Do not show ref From c7bf47a00b74a4cf0984b0297bc64d181101d248 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:38:05 +0200 Subject: [PATCH 08/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php index 59bed960d1e..5d4ecff0983 100644 --- a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php +++ b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php @@ -472,7 +472,7 @@ class pdf_soleil extends ModelePDFFicheinter /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -536,7 +536,7 @@ class pdf_soleil extends ModelePDFFicheinter /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -709,7 +709,7 @@ class pdf_soleil extends ModelePDFFicheinter /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 2c4d8bceb683ea6c081b98354160e6cde1fc3c8b Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:39:54 +0200 Subject: [PATCH 09/50] Change comment to fixe a lot of undefined method --- .../core/modules/livraison/doc/pdf_typhon.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php b/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php index b74f25d340a..891d5fce6fa 100644 --- a/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php +++ b/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php @@ -3,7 +3,7 @@ * Copyright (C) 2005-2014 Regis Houssin * Copyright (C) 2007 Franky Van Liedekerke * Copyright (C) 2008 Chiptronik - * Copyright (C) 2011-2019 Philippe Grand + * Copyright (C) 2011-2020 Philippe Grand * Copyright (C) 2015 Marcos García * This program is free software; you can redistribute it and/or modify @@ -627,7 +627,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -656,7 +656,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -722,7 +722,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -896,7 +896,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From ed6d83687c892203a403b6037f027f53ff2b5fe1 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:44:44 +0200 Subject: [PATCH 10/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/project/doc/pdf_baleine.modules.php | 6 +++--- htdocs/core/modules/project/doc/pdf_beluga.modules.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/project/doc/pdf_baleine.modules.php b/htdocs/core/modules/project/doc/pdf_baleine.modules.php index 7a1b0a0bfe4..c36444dc405 100644 --- a/htdocs/core/modules/project/doc/pdf_baleine.modules.php +++ b/htdocs/core/modules/project/doc/pdf_baleine.modules.php @@ -516,7 +516,7 @@ class pdf_baleine extends ModelePDFProjects /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -567,7 +567,7 @@ class pdf_baleine extends ModelePDFProjects /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -658,7 +658,7 @@ class pdf_baleine extends ModelePDFProjects /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text diff --git a/htdocs/core/modules/project/doc/pdf_beluga.modules.php b/htdocs/core/modules/project/doc/pdf_beluga.modules.php index 334fc16ca18..a43e6e628cc 100644 --- a/htdocs/core/modules/project/doc/pdf_beluga.modules.php +++ b/htdocs/core/modules/project/doc/pdf_beluga.modules.php @@ -691,7 +691,7 @@ class pdf_beluga extends ModelePDFProjects /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -742,7 +742,7 @@ class pdf_beluga extends ModelePDFProjects /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -809,7 +809,7 @@ class pdf_beluga extends ModelePDFProjects /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 703de5286f29335dc39846ce08e9bd3f5f7abe09 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:46:07 +0200 Subject: [PATCH 11/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/project/doc/pdf_timespent.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/project/doc/pdf_timespent.modules.php b/htdocs/core/modules/project/doc/pdf_timespent.modules.php index a6bf7fdace7..77bc4758391 100644 --- a/htdocs/core/modules/project/doc/pdf_timespent.modules.php +++ b/htdocs/core/modules/project/doc/pdf_timespent.modules.php @@ -447,7 +447,7 @@ class pdf_timespent extends ModelePDFProjects /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -498,7 +498,7 @@ class pdf_timespent extends ModelePDFProjects /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -589,7 +589,7 @@ class pdf_timespent extends ModelePDFProjects /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 8ff27f89e5c6dd8fc92947704bca46640e517982 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:48:25 +0200 Subject: [PATCH 12/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/propale/doc/pdf_azur.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/propale/doc/pdf_azur.modules.php b/htdocs/core/modules/propale/doc/pdf_azur.modules.php index 279b5be2569..d97da48126e 100644 --- a/htdocs/core/modules/propale/doc/pdf_azur.modules.php +++ b/htdocs/core/modules/propale/doc/pdf_azur.modules.php @@ -1023,7 +1023,7 @@ class pdf_azur extends ModelePDFPropales /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Propal $object Object propal * @param int $deja_regle Amount already paid * @param int $posy Start position @@ -1297,7 +1297,7 @@ class pdf_azur extends ModelePDFPropales /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1414,7 +1414,7 @@ class pdf_azur extends ModelePDFPropales /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1665,7 +1665,7 @@ class pdf_azur extends ModelePDFPropales /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text @@ -1683,7 +1683,7 @@ class pdf_azur extends ModelePDFPropales /** * Show area for the customer to sign * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $posy Position depart * @param Translate $outputlangs Objet langs From 3b80e9a08e922b0cb93b1431da1bf311e55531cc Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:50:30 +0200 Subject: [PATCH 13/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/propale/doc/pdf_cyan.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/propale/doc/pdf_cyan.modules.php b/htdocs/core/modules/propale/doc/pdf_cyan.modules.php index 705294979dc..f804e236d25 100644 --- a/htdocs/core/modules/propale/doc/pdf_cyan.modules.php +++ b/htdocs/core/modules/propale/doc/pdf_cyan.modules.php @@ -1145,7 +1145,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -1432,7 +1432,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1486,7 +1486,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1737,7 +1737,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text @@ -1753,7 +1753,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show area for the customer to sign * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $posy Position depart * @param Translate $outputlangs Objet langs From 9fd520b5d4cc2e18858dffbf97186d4551d6dca2 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:52:11 +0200 Subject: [PATCH 14/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/reception/doc/pdf_squille.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/reception/doc/pdf_squille.modules.php b/htdocs/core/modules/reception/doc/pdf_squille.modules.php index b5fe6c53c36..dd3d62fca03 100644 --- a/htdocs/core/modules/reception/doc/pdf_squille.modules.php +++ b/htdocs/core/modules/reception/doc/pdf_squille.modules.php @@ -573,7 +573,7 @@ class pdf_squille extends ModelePdfReception /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -675,7 +675,7 @@ class pdf_squille extends ModelePdfReception /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -757,7 +757,7 @@ class pdf_squille extends ModelePdfReception /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1003,7 +1003,7 @@ class pdf_squille extends ModelePdfReception /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From d446a38b34b8b4ac33bef9106e2c030e129c59c6 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:54:19 +0200 Subject: [PATCH 15/50] Change comment to fixe a lot of undefined method --- .../supplier_invoice/doc/pdf_canelle.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php b/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php index 11ff7780002..974f3e186c3 100644 --- a/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php +++ b/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php @@ -617,7 +617,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object invoice * @param int $deja_regle Amount already paid (in the currency of invoice) * @param int $posy Position depart @@ -843,7 +843,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -949,7 +949,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show payments table * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -1040,7 +1040,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param FactureFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1252,7 +1252,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param FactureFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 1ea21ee1b850c175c9b05b1a52eca6445a676162 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:56:48 +0200 Subject: [PATCH 16/50] Change comment to fixe a lot of undefined method --- .../supplier_order/doc/pdf_cornas.modules.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php b/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php index 1fdb8b09aef..10acc9d27e2 100644 --- a/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php +++ b/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php @@ -808,7 +808,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show payments table * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param CommandeFournisseur $object Object order * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -824,7 +824,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -890,7 +890,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -1103,7 +1103,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1176,7 +1176,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1416,7 +1416,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param CommandeFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 3a2e5274545558c971c0492660005d4cff19f3fd Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 09:58:47 +0200 Subject: [PATCH 17/50] Change comment to fixe a lot of undefined method --- .../supplier_order/doc/pdf_muscadet.modules.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php b/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php index 5dd240fb544..a2907d8b5cf 100644 --- a/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php +++ b/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php @@ -693,7 +693,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show payments table * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param CommandeFournisseur $object Object order * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -709,7 +709,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -775,7 +775,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -988,7 +988,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1094,7 +1094,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1333,7 +1333,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param CommandeFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 6fa3e8df4e6bf6a0cf909b2af6a79c2765b8b049 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 10:00:20 +0200 Subject: [PATCH 18/50] Change comment to fixe a lot of undefined method --- .../modules/supplier_payment/doc/pdf_standard.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php index a4f9bc93823..db6ce567305 100644 --- a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php @@ -508,7 +508,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param PaiementFourn $object Object PaiementFourn * @param int $posy Position depart * @param Translate $outputlangs Objet langs @@ -567,7 +567,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param integer $tab_top Top position of table * @param integer $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -612,7 +612,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param FactureFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -788,7 +788,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param FactureFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From d6c84ef5ce5aca5acc41aef504720cb9c41fd4a9 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 10:02:25 +0200 Subject: [PATCH 19/50] Change comment to fixe a lot of undefined method --- .../supplier_proposal/doc/pdf_aurore.modules.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php index 608b3fbd392..4a0dc601fbf 100644 --- a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php +++ b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php @@ -691,7 +691,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show payments table * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object proposal * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -707,7 +707,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -874,7 +874,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show total to pay * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -1145,7 +1145,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1251,7 +1251,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1463,7 +1463,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 0d6274c8fe6b9b46fdd5255d998926d20cfc31a6 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 10:04:54 +0200 Subject: [PATCH 20/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/bank/doc/pdf_ban.modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/bank/doc/pdf_ban.modules.php b/htdocs/core/modules/bank/doc/pdf_ban.modules.php index 3aa46add2ac..05bb4636e53 100644 --- a/htdocs/core/modules/bank/doc/pdf_ban.modules.php +++ b/htdocs/core/modules/bank/doc/pdf_ban.modules.php @@ -292,7 +292,7 @@ class pdf_ban extends ModeleBankAccountDoc /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -377,7 +377,7 @@ class pdf_ban extends ModeleBankAccountDoc /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 85b2adaaec3e5f07e4cdd9381acc82680ed5c897 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 10:13:18 +0200 Subject: [PATCH 21/50] Change comment to fixe a lot of undefined method --- .../core/modules/bank/doc/pdf_sepamandate.modules.php | 10 +++++----- htdocs/core/modules/cheque/doc/pdf_blochet.class.php | 8 +++++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php index e50acfb6c2a..5aa63711ba0 100644 --- a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php +++ b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php @@ -424,7 +424,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show table for lines * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -447,7 +447,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -485,7 +485,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show area for the customer to sign * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Facture $object Object invoice * @param int $posy Position depart * @param Translate $outputlangs Objet langs @@ -527,7 +527,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show top header of page. * - * @param PDF $pdf Object PDF + * @param TCPDF &$pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -617,7 +617,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text diff --git a/htdocs/core/modules/cheque/doc/pdf_blochet.class.php b/htdocs/core/modules/cheque/doc/pdf_blochet.class.php index ec6f52dfec7..30b0ea62b46 100644 --- a/htdocs/core/modules/cheque/doc/pdf_blochet.class.php +++ b/htdocs/core/modules/cheque/doc/pdf_blochet.class.php @@ -213,7 +213,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts /** * Generate Header * - * @param PDF $pdf Pdf object + * @param TCPDF &$pdf Pdf object * @param int $page Current page number * @param int $pages Total number of pages * @param Translate $outputlangs Object language for output @@ -321,7 +321,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts /** * Output array * - * @param PDF $pdf PDF object + * @param TCPDF &$pdf PDF object * @param int $pagenb Page nb * @param int $pages Pages * @param Translate $outputlangs Object lang @@ -390,7 +390,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts /** * Show footer of page. Need this->emetteur object * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text @@ -404,6 +404,8 @@ class BordereauChequeBlochet extends ModeleChequeReceipts $showdetails = $conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS; // Line of free text + $substitutionarray = pdf_getSubstitutionArray($outputlangs, null, $object); + complete_substitutions_array($substitutionarray, $outputlangs, $object); $newfreetext = ''; $paramfreetext = 'BANK_CHEQUERECEIPT_FREE_TEXT'; if (!empty($conf->global->$paramfreetext)) From 42fcb64700336b1235578cedf55fa472a63d8ae5 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 3 Aug 2020 10:26:01 +0200 Subject: [PATCH 22/50] Change comment to fixe a lot of undefined method --- htdocs/core/modules/member/doc/pdf_standard.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/member/doc/pdf_standard.class.php b/htdocs/core/modules/member/doc/pdf_standard.class.php index dd4b15d6135..9ba2956857a 100644 --- a/htdocs/core/modules/member/doc/pdf_standard.class.php +++ b/htdocs/core/modules/member/doc/pdf_standard.class.php @@ -37,7 +37,7 @@ class pdf_standard extends CommonStickerGenerator /** * Output a sticker on page at position _COUNTX, _COUNTY (_COUNTX and _COUNTY start from 0) * - * @param PDF $pdf PDF reference + * @param TCPDF &$pdf PDF reference * @param Translate $outputlangs Output langs * @param array $param Associative array containing label content and optional parameters * @return void @@ -53,7 +53,7 @@ class pdf_standard extends CommonStickerGenerator * - __LOGO__ is replace with company logo * - __PHOTO__ is replace with photo provided as parameter * - * @param PDF $pdf PDF + * @param TCPDF &$pdf PDF * @param string $textleft Text left * @param string $header Header * @param string $footer Footer From e4faa0228e0c69410574eead49e354bf684b73f6 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:40:42 +0200 Subject: [PATCH 23/50] Update pdf_strato.modules.php --- htdocs/core/modules/contract/doc/pdf_strato.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/contract/doc/pdf_strato.modules.php b/htdocs/core/modules/contract/doc/pdf_strato.modules.php index 4df4ec431c3..7ffd79414d0 100644 --- a/htdocs/core/modules/contract/doc/pdf_strato.modules.php +++ b/htdocs/core/modules/contract/doc/pdf_strato.modules.php @@ -500,7 +500,7 @@ class pdf_strato extends ModelePDFContract /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -550,7 +550,7 @@ class pdf_strato extends ModelePDFContract /** * Show footer signature of page - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param int $tab_top tab height position * @param int $tab_height tab height * @param Translate $outputlangs Object language for output @@ -579,7 +579,7 @@ class pdf_strato extends ModelePDFContract /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param CommonObject $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output From 6874feb09a617d43e3082fb10f738c953713bb12 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:42:14 +0200 Subject: [PATCH 24/50] Update pdf_ban.modules.php --- htdocs/core/modules/bank/doc/pdf_ban.modules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/bank/doc/pdf_ban.modules.php b/htdocs/core/modules/bank/doc/pdf_ban.modules.php index 05bb4636e53..51dea857f61 100644 --- a/htdocs/core/modules/bank/doc/pdf_ban.modules.php +++ b/htdocs/core/modules/bank/doc/pdf_ban.modules.php @@ -292,7 +292,7 @@ class pdf_ban extends ModeleBankAccountDoc /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -377,7 +377,7 @@ class pdf_ban extends ModeleBankAccountDoc /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 2627bec686d2bc3d3bfe0b945320d4b51f863cdb Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:43:28 +0200 Subject: [PATCH 25/50] Update pdf_sepamandate.modules.php --- .../core/modules/bank/doc/pdf_sepamandate.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php index 5aa63711ba0..464e2dffb36 100644 --- a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php +++ b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php @@ -424,7 +424,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -447,7 +447,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -485,7 +485,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show area for the customer to sign * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $posy Position depart * @param Translate $outputlangs Objet langs @@ -527,7 +527,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -617,7 +617,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 3fcacf7196be429751ac2f5cdaf1a6e0741998fc Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:44:25 +0200 Subject: [PATCH 26/50] Update pdf_blochet.class.php --- htdocs/core/modules/cheque/doc/pdf_blochet.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/cheque/doc/pdf_blochet.class.php b/htdocs/core/modules/cheque/doc/pdf_blochet.class.php index 30b0ea62b46..3850b0ef4ba 100644 --- a/htdocs/core/modules/cheque/doc/pdf_blochet.class.php +++ b/htdocs/core/modules/cheque/doc/pdf_blochet.class.php @@ -213,7 +213,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts /** * Generate Header * - * @param TCPDF &$pdf Pdf object + * @param TCPDF $pdf Pdf object * @param int $page Current page number * @param int $pages Total number of pages * @param Translate $outputlangs Object language for output @@ -321,7 +321,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts /** * Output array * - * @param TCPDF &$pdf PDF object + * @param TCPDF $pdf PDF object * @param int $pagenb Page nb * @param int $pages Pages * @param Translate $outputlangs Object lang @@ -390,7 +390,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From f94d4413a99f0169b2bf3b581db7cd0621914886 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:45:52 +0200 Subject: [PATCH 27/50] Update pdf_espadon.modules.php --- .../core/modules/expedition/doc/pdf_espadon.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php index ddd08558b7a..c4813d9dfb3 100644 --- a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php @@ -671,7 +671,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Amount already paid * @param int $posy Start Position @@ -772,7 +772,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -822,7 +822,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1065,7 +1065,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 19fb6e827e50c665ee6516300586c52cbcfb69a9 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:47:00 +0200 Subject: [PATCH 28/50] Update pdf_merou.modules.php --- htdocs/core/modules/expedition/doc/pdf_merou.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_merou.modules.php b/htdocs/core/modules/expedition/doc/pdf_merou.modules.php index c8035036307..bf54298d264 100644 --- a/htdocs/core/modules/expedition/doc/pdf_merou.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_merou.modules.php @@ -438,7 +438,7 @@ class pdf_merou extends ModelePdfExpedition /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -480,7 +480,7 @@ class pdf_merou extends ModelePdfExpedition /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text @@ -509,7 +509,7 @@ class pdf_merou extends ModelePdfExpedition /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output From 001662af3d08a4e60d758ae1c6a852841ad0f493 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:49:47 +0200 Subject: [PATCH 29/50] Update pdf_rouget.modules.php --- htdocs/core/modules/expedition/doc/pdf_rouget.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php index 48141b36b4d..a188ae4c0dc 100644 --- a/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php @@ -662,7 +662,7 @@ class pdf_rouget extends ModelePdfExpedition /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -769,7 +769,7 @@ class pdf_rouget extends ModelePdfExpedition /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -857,7 +857,7 @@ class pdf_rouget extends ModelePdfExpedition /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output From 85879a0baa71f8100f06c3ede53a0dee6d78ed1a Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:51:35 +0200 Subject: [PATCH 30/50] Update pdf_standard.modules.php --- .../modules/expensereport/doc/pdf_standard.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php b/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php index 6cdc7f4ffbc..87001fc9fdc 100644 --- a/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/expensereport/doc/pdf_standard.modules.php @@ -642,7 +642,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -866,7 +866,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param int $tab_top Tab top * @param int $tab_height Tab height * @param int $nexY next y @@ -980,7 +980,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show payments table * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object invoice * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -1092,7 +1092,7 @@ class pdf_standard extends ModeleExpenseReport /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From d97a9c9b0d5669dcb154db3cdde731bb9f981b0b Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:53:20 +0200 Subject: [PATCH 31/50] Update pdf_crabe.modules.php --- .../core/modules/facture/doc/pdf_crabe.modules.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php index 51f554295ec..96cdf62a53b 100644 --- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php @@ -780,7 +780,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show payments table * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object invoice * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -965,7 +965,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -1139,7 +1139,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Amount already paid (in the currency of invoice) * @param int $posy Position depart @@ -1464,7 +1464,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1586,7 +1586,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1889,7 +1889,7 @@ class pdf_crabe extends ModelePDFFactures /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 51cbbcd3b86c8fade728cb68755cd07f5d733216 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:55:14 +0200 Subject: [PATCH 32/50] Update pdf_sponge.modules.php --- htdocs/core/modules/facture/doc/pdf_sponge.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/facture/doc/pdf_sponge.modules.php b/htdocs/core/modules/facture/doc/pdf_sponge.modules.php index 827e09081e7..8bc0afe3023 100644 --- a/htdocs/core/modules/facture/doc/pdf_sponge.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_sponge.modules.php @@ -917,7 +917,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show payments table * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object invoice * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -1055,7 +1055,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -1760,7 +1760,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1820,7 +1820,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -2141,7 +2141,7 @@ class pdf_sponge extends ModelePDFFactures /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From ea72d5dc828368a0b49239d8bef5f5ea3ca45de0 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:56:17 +0200 Subject: [PATCH 33/50] Update pdf_soleil.modules.php --- htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php index 5d4ecff0983..47abbc3640a 100644 --- a/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php +++ b/htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php @@ -472,7 +472,7 @@ class pdf_soleil extends ModelePDFFicheinter /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -536,7 +536,7 @@ class pdf_soleil extends ModelePDFFicheinter /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -709,7 +709,7 @@ class pdf_soleil extends ModelePDFFicheinter /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 6937efa3bab455eb3f4fb363959f8cd4d8a6aab9 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:57:25 +0200 Subject: [PATCH 34/50] Update pdf_typhon.modules.php --- htdocs/core/modules/livraison/doc/pdf_typhon.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php b/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php index 891d5fce6fa..3d3e2a1d26e 100644 --- a/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php +++ b/htdocs/core/modules/livraison/doc/pdf_typhon.modules.php @@ -627,7 +627,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -656,7 +656,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -722,7 +722,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -896,7 +896,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From e8f92fe5bc7edeb7d6d36ffdf44a19e69b10e3af Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 15:59:23 +0200 Subject: [PATCH 35/50] Update pdf_standard.class.php --- htdocs/core/modules/member/doc/pdf_standard.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/modules/member/doc/pdf_standard.class.php b/htdocs/core/modules/member/doc/pdf_standard.class.php index 9ba2956857a..0051862d52e 100644 --- a/htdocs/core/modules/member/doc/pdf_standard.class.php +++ b/htdocs/core/modules/member/doc/pdf_standard.class.php @@ -37,7 +37,7 @@ class pdf_standard extends CommonStickerGenerator /** * Output a sticker on page at position _COUNTX, _COUNTY (_COUNTX and _COUNTY start from 0) * - * @param TCPDF &$pdf PDF reference + * @param TCPDF $pdf PDF reference * @param Translate $outputlangs Output langs * @param array $param Associative array containing label content and optional parameters * @return void @@ -53,7 +53,7 @@ class pdf_standard extends CommonStickerGenerator * - __LOGO__ is replace with company logo * - __PHOTO__ is replace with photo provided as parameter * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param string $textleft Text left * @param string $header Header * @param string $footer Footer From d781a7cf62779da44c4a30b94b09a2dc3e2d38af Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:00:12 +0200 Subject: [PATCH 36/50] Update pdf_espadon.modules.php --- htdocs/core/modules/expedition/doc/pdf_espadon.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php index c4813d9dfb3..95f8e1ac7b1 100644 --- a/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php +++ b/htdocs/core/modules/expedition/doc/pdf_espadon.modules.php @@ -671,7 +671,7 @@ class pdf_espadon extends ModelePdfExpedition /** * Show total to pay * - * @param TCPDF $pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Amount already paid * @param int $posy Start Position From 81b484ecc8aa3354526fa94a354577935973fae3 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:01:28 +0200 Subject: [PATCH 37/50] Update pdf_baleine.modules.php --- htdocs/core/modules/project/doc/pdf_baleine.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/project/doc/pdf_baleine.modules.php b/htdocs/core/modules/project/doc/pdf_baleine.modules.php index c36444dc405..597e4ae3186 100644 --- a/htdocs/core/modules/project/doc/pdf_baleine.modules.php +++ b/htdocs/core/modules/project/doc/pdf_baleine.modules.php @@ -516,7 +516,7 @@ class pdf_baleine extends ModelePDFProjects /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -567,7 +567,7 @@ class pdf_baleine extends ModelePDFProjects /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -658,7 +658,7 @@ class pdf_baleine extends ModelePDFProjects /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From d9c260c7f1a2427444a6d9efedc91fed36b772ea Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:02:19 +0200 Subject: [PATCH 38/50] Update pdf_beluga.modules.php --- htdocs/core/modules/project/doc/pdf_beluga.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/project/doc/pdf_beluga.modules.php b/htdocs/core/modules/project/doc/pdf_beluga.modules.php index a43e6e628cc..91e33e12002 100644 --- a/htdocs/core/modules/project/doc/pdf_beluga.modules.php +++ b/htdocs/core/modules/project/doc/pdf_beluga.modules.php @@ -691,7 +691,7 @@ class pdf_beluga extends ModelePDFProjects /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -742,7 +742,7 @@ class pdf_beluga extends ModelePDFProjects /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -809,7 +809,7 @@ class pdf_beluga extends ModelePDFProjects /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 54878e2916741ed3e61f2a5f6de7858921743677 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:03:28 +0200 Subject: [PATCH 39/50] Update pdf_timespent.modules.php --- htdocs/core/modules/project/doc/pdf_timespent.modules.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/project/doc/pdf_timespent.modules.php b/htdocs/core/modules/project/doc/pdf_timespent.modules.php index 77bc4758391..f56d901568a 100644 --- a/htdocs/core/modules/project/doc/pdf_timespent.modules.php +++ b/htdocs/core/modules/project/doc/pdf_timespent.modules.php @@ -447,7 +447,7 @@ class pdf_timespent extends ModelePDFProjects /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -498,7 +498,7 @@ class pdf_timespent extends ModelePDFProjects /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Project $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -589,7 +589,7 @@ class pdf_timespent extends ModelePDFProjects /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Project $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From f4a4444c794987f1499e01c082498bd9887226da Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:04:54 +0200 Subject: [PATCH 40/50] Update pdf_azur.modules.php --- htdocs/core/modules/propale/doc/pdf_azur.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/propale/doc/pdf_azur.modules.php b/htdocs/core/modules/propale/doc/pdf_azur.modules.php index d97da48126e..2915304a496 100644 --- a/htdocs/core/modules/propale/doc/pdf_azur.modules.php +++ b/htdocs/core/modules/propale/doc/pdf_azur.modules.php @@ -1023,7 +1023,7 @@ class pdf_azur extends ModelePDFPropales /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Propal $object Object propal * @param int $deja_regle Amount already paid * @param int $posy Start position @@ -1297,7 +1297,7 @@ class pdf_azur extends ModelePDFPropales /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1414,7 +1414,7 @@ class pdf_azur extends ModelePDFPropales /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1665,7 +1665,7 @@ class pdf_azur extends ModelePDFPropales /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text @@ -1683,7 +1683,7 @@ class pdf_azur extends ModelePDFPropales /** * Show area for the customer to sign * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $posy Position depart * @param Translate $outputlangs Objet langs From 4d1743ffcfd7c891fef8da753c57510e81598e7a Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:06:01 +0200 Subject: [PATCH 41/50] Update pdf_cyan.modules.php --- htdocs/core/modules/propale/doc/pdf_cyan.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/propale/doc/pdf_cyan.modules.php b/htdocs/core/modules/propale/doc/pdf_cyan.modules.php index f804e236d25..cdb084aa861 100644 --- a/htdocs/core/modules/propale/doc/pdf_cyan.modules.php +++ b/htdocs/core/modules/propale/doc/pdf_cyan.modules.php @@ -1145,7 +1145,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -1432,7 +1432,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1486,7 +1486,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1737,7 +1737,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 49c99cfa70a63b8fd55c7c80ef984dfe307428db Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:07:21 +0200 Subject: [PATCH 42/50] Update pdf_squille.modules.php --- htdocs/core/modules/reception/doc/pdf_squille.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/reception/doc/pdf_squille.modules.php b/htdocs/core/modules/reception/doc/pdf_squille.modules.php index dd3d62fca03..7e931c4b1cf 100644 --- a/htdocs/core/modules/reception/doc/pdf_squille.modules.php +++ b/htdocs/core/modules/reception/doc/pdf_squille.modules.php @@ -573,7 +573,7 @@ class pdf_squille extends ModelePdfReception /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -675,7 +675,7 @@ class pdf_squille extends ModelePdfReception /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y @@ -757,7 +757,7 @@ class pdf_squille extends ModelePdfReception /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1003,7 +1003,7 @@ class pdf_squille extends ModelePdfReception /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 62c49b2ce3977e06d4bb82f01fbf3daa282727e7 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:08:43 +0200 Subject: [PATCH 43/50] Update pdf_canelle.modules.php --- .../supplier_invoice/doc/pdf_canelle.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php b/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php index 974f3e186c3..fdf4e2a827a 100644 --- a/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php +++ b/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php @@ -617,7 +617,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object invoice * @param int $deja_regle Amount already paid (in the currency of invoice) * @param int $posy Position depart @@ -843,7 +843,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -949,7 +949,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show payments table * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -1040,7 +1040,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param FactureFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1252,7 +1252,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param FactureFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 79be00f0aa07bdecaf038ca83b0e358025e7970d Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:10:06 +0200 Subject: [PATCH 44/50] Update pdf_cornas.modules.php --- .../supplier_order/doc/pdf_cornas.modules.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php b/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php index 10acc9d27e2..88438a6555d 100644 --- a/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php +++ b/htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php @@ -808,7 +808,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show payments table * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param CommandeFournisseur $object Object order * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -824,7 +824,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -890,7 +890,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -1103,7 +1103,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1176,7 +1176,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1416,7 +1416,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param CommandeFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From c6b4c4392c0481ee7f77bc9e54782c6d3c3cc1cf Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:11:25 +0200 Subject: [PATCH 45/50] Update pdf_muscadet.modules.php --- .../supplier_order/doc/pdf_muscadet.modules.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php b/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php index a2907d8b5cf..aa6238f84a8 100644 --- a/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php +++ b/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php @@ -693,7 +693,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show payments table * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param CommandeFournisseur $object Object order * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -709,7 +709,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -775,7 +775,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -988,7 +988,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1094,7 +1094,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param CommandeFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1333,7 +1333,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param CommandeFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From 6a24aed42aebc11e6a0f024ea0ef4d17516975d1 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:12:21 +0200 Subject: [PATCH 46/50] Update pdf_standard.modules.php --- .../modules/supplier_payment/doc/pdf_standard.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php index db6ce567305..d2e2327dd10 100644 --- a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php @@ -508,7 +508,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param PaiementFourn $object Object PaiementFourn * @param int $posy Position depart * @param Translate $outputlangs Objet langs @@ -567,7 +567,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param integer $tab_top Top position of table * @param integer $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -612,7 +612,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param FactureFournisseur $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -788,7 +788,7 @@ class pdf_standard extends ModelePDFSuppliersPayments /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param FactureFournisseur $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From bc8651802014f3fac1c6b4732e817031b05dbf09 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 4 Aug 2020 16:13:35 +0200 Subject: [PATCH 47/50] Update pdf_aurore.modules.php --- .../supplier_proposal/doc/pdf_aurore.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php index 4a0dc601fbf..e503f3cee56 100644 --- a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php +++ b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php @@ -691,7 +691,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show payments table * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object proposal * @param int $posy Position y in PDF * @param Translate $outputlangs Object langs for output @@ -874,7 +874,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show total to pay * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $deja_regle Montant deja regle * @param int $posy Position depart @@ -1145,7 +1145,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show table for lines * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param string $tab_top Top position of table * @param string $tab_height Height of table (rectangle) * @param int $nexY Y (not used) @@ -1251,7 +1251,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show top header of page. * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $showaddress 0=no, 1=yes * @param Translate $outputlangs Object lang for output @@ -1463,7 +1463,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show footer of page. Need this->emetteur object * - * @param TCPDF &$pdf PDF + * @param TCPDF $pdf PDF * @param Object $object Object to show * @param Translate $outputlangs Object lang for output * @param int $hidefreetext 1=Hide free text From f35893ceb4f465a474cb4e0b00d7182c35dcefbd Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 8 Aug 2020 15:12:29 +0200 Subject: [PATCH 48/50] fix deprecated --- .../doc/pdf_muscadet.modules.php | 58 +++++++++---------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php b/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php index aa6238f84a8..206935e7323 100644 --- a/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php +++ b/htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php @@ -717,13 +717,12 @@ class pdf_muscadet extends ModelePDFSuppliersOrders */ protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) { - // phpcs:enable - global $conf, $mysoc; - $default_font_size = pdf_getPDFFontSize($outputlangs); + // phpcs:enable + global $conf, $mysoc; + $default_font_size = pdf_getPDFFontSize($outputlangs); - // If France, show VAT mention if not applicable - if ($this->emetteur->country_code == 'FR' && empty($mysoc->tva_assuj)) - { + // If France, show VAT mention if not applicable + if ($this->emetteur->country_code == 'FR' && empty($mysoc->tva_assuj)) { $pdf->SetFont('', 'B', $default_font_size - 2); $pdf->SetXY($this->marge_gauche, $posy); $pdf->MultiCell(100, 3, $outputlangs->transnoentities("VATIsNotUsedForInvoice"), 0, 'L', 0); @@ -733,39 +732,36 @@ class pdf_muscadet extends ModelePDFSuppliersOrders $posxval = 52; - // Show payments conditions - if (!empty($object->cond_reglement_code) || $object->cond_reglement) - { - $pdf->SetFont('', 'B', $default_font_size - 2); - $pdf->SetXY($this->marge_gauche, $posy); - $titre = $outputlangs->transnoentities("PaymentConditions").':'; - $pdf->MultiCell(80, 4, $titre, 0, 'L'); + // Show payments conditions + if (!empty($object->cond_reglement_code) || $object->cond_reglement_id) { + $pdf->SetFont('', 'B', $default_font_size - 2); + $pdf->SetXY($this->marge_gauche, $posy); + $titre = $outputlangs->transnoentities("PaymentConditions") . ':'; + $pdf->MultiCell(80, 4, $titre, 0, 'L'); $pdf->SetFont('', '', $default_font_size - 2); $pdf->SetXY($posxval, $posy); - $lib_condition_paiement = $outputlangs->transnoentities("PaymentCondition".$object->cond_reglement_code) != ('PaymentCondition'.$object->cond_reglement_code) ? $outputlangs->transnoentities("PaymentCondition".$object->cond_reglement_code) : $outputlangs->convToOutputCharset($object->cond_reglement); + $lib_condition_paiement = $outputlangs->transnoentities("PaymentCondition" . $object->cond_reglement_code) != ('PaymentCondition' . $object->cond_reglement_code) ? $outputlangs->transnoentities("PaymentCondition" . $object->cond_reglement_code) : $outputlangs->convToOutputCharset($object->cond_reglement_id); $lib_condition_paiement = str_replace('\n', "\n", $lib_condition_paiement); $pdf->MultiCell(80, 4, $lib_condition_paiement, 0, 'L'); - $posy = $pdf->GetY() + 3; - } + $posy = $pdf->GetY() + 3; + } - // Show payment mode - if (!empty($object->mode_reglement_code)) - { - $pdf->SetFont('', 'B', $default_font_size - 2); - $pdf->SetXY($this->marge_gauche, $posy); - $titre = $outputlangs->transnoentities("PaymentMode").':'; - $pdf->MultiCell(80, 5, $titre, 0, 'L'); + // Show payment mode + if (!empty($object->mode_reglement_code)) { + $pdf->SetFont('', 'B', $default_font_size - 2); + $pdf->SetXY($this->marge_gauche, $posy); + $titre = $outputlangs->transnoentities("PaymentMode") . ':'; + $pdf->MultiCell(80, 5, $titre, 0, 'L'); - $pdf->SetFont('', '', $default_font_size - 2); - $pdf->SetXY($posxval, $posy); - $lib_mode_reg = $outputlangs->transnoentities("PaymentType".$object->mode_reglement_code) != ('PaymentType'.$object->mode_reglement_code) ? $outputlangs->transnoentities("PaymentType".$object->mode_reglement_code) : $outputlangs->convToOutputCharset($object->mode_reglement); - $pdf->MultiCell(80, 5, $lib_mode_reg, 0, 'L'); - - $posy = $pdf->GetY() + 2; - } + $pdf->SetFont('', '', $default_font_size - 2); + $pdf->SetXY($posxval, $posy); + $lib_mode_reg = $outputlangs->transnoentities("PaymentType" . $object->mode_reglement_code) != ('PaymentType' . $object->mode_reglement_code) ? $outputlangs->transnoentities("PaymentType" . $object->mode_reglement_code) : $outputlangs->convToOutputCharset($object->mode_reglement); + $pdf->MultiCell(80, 5, $lib_mode_reg, 0, 'L'); + $posy = $pdf->GetY() + 2; + } return $posy; } @@ -1174,7 +1170,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders $pdf->SetXY($posx, $posy); $langs->load("projects"); $pdf->SetTextColor(0, 0, 60); - $pdf->MultiCell(100, 3, $outputlangs->transnoentities("Project")." : ".(empty($object->project->ref) ? '' : $object->projet->ref), '', 'R'); + $pdf->MultiCell(100, 3, $outputlangs->transnoentities("Project")." : ".(empty($object->project->ref) ? '' : $object->project->ref), '', 'R'); } } From fe24c2f8b8da65c2e83e6061d2945bc14a28dea0 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sat, 8 Aug 2020 15:29:53 +0200 Subject: [PATCH 49/50] fix undefined variable --- .../supplier_proposal/doc/pdf_aurore.modules.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php index e503f3cee56..e44be9f1bb3 100644 --- a/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php +++ b/htdocs/core/modules/supplier_proposal/doc/pdf_aurore.modules.php @@ -707,7 +707,7 @@ class pdf_aurore extends ModelePDFSupplierProposal /** * Show miscellaneous information (payment mode, payment term, ...) * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Object $object Object to show * @param int $posy Y * @param Translate $outputlangs Langs object @@ -746,7 +746,7 @@ class pdf_aurore extends ModelePDFSupplierProposal $pdf->SetFont('', '', $default_font_size - 2); $pdf->SetXY($posxval, $posy); //$dlp=dol_print_date($object->date_livraison,"daytext",false,$outputlangs,true); - $pdf->MultiCell(80, 4, $dlp, 0, 'L'); + $pdf->MultiCell(80, 4, '', 0, 'L'); $posy = $pdf->GetY() + 1; } @@ -1093,13 +1093,10 @@ class pdf_aurore extends ModelePDFSupplierProposal $pdf->SetTextColor(0, 0, 0); - /* $resteapayer = $object->total_ttc - $deja_regle; - if (! empty($object->paye)) $resteapayer=0; - */ + if (!empty($object->paye)) $resteapayer = 0; - if ($deja_regle > 0) - { + if ($deja_regle > 0) { $index++; $pdf->SetXY($col1x, $tab2_top + $tab2_hl * $index); From e7bea7c5ce8b629a7c3547bb015f381fd1d49535 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Sat, 8 Aug 2020 15:34:38 +0200 Subject: [PATCH 50/50] Update pdf_cyan.modules.php --- htdocs/core/modules/propale/doc/pdf_cyan.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/propale/doc/pdf_cyan.modules.php b/htdocs/core/modules/propale/doc/pdf_cyan.modules.php index cdb084aa861..e023465d8e3 100644 --- a/htdocs/core/modules/propale/doc/pdf_cyan.modules.php +++ b/htdocs/core/modules/propale/doc/pdf_cyan.modules.php @@ -1753,7 +1753,7 @@ class pdf_cyan extends ModelePDFPropales /** * Show area for the customer to sign * - * @param TCPDF &$pdf Object PDF + * @param TCPDF $pdf Object PDF * @param Facture $object Object invoice * @param int $posy Position depart * @param Translate $outputlangs Objet langs