@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | } |
159 | 159 | |
160 | 160 | |
161 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
161 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
162 | 162 | /** |
163 | 163 | * Function to build pdf onto disk |
164 | 164 | * |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | */ |
173 | 173 | public function write_file($object, $outputlangs = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
174 | 174 | { |
175 | - // phpcs:enable |
|
175 | + // phpcs:enable |
|
176 | 176 | global $user, $langs, $conf, $hookmanager, $mysoc, $nblines; |
177 | 177 | |
178 | 178 | if (!is_object($outputlangs)) { |
@@ -702,8 +702,8 @@ discard block |
||
702 | 702 | } |
703 | 703 | } |
704 | 704 | |
705 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
706 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
705 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
706 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
707 | 707 | /** |
708 | 708 | * Show payments table |
709 | 709 | * |
@@ -715,12 +715,12 @@ discard block |
||
715 | 715 | */ |
716 | 716 | protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs) |
717 | 717 | { |
718 | - // phpcs:enable |
|
718 | + // phpcs:enable |
|
719 | 719 | return 1; |
720 | 720 | } |
721 | 721 | |
722 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
723 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
722 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
723 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
724 | 724 | /** |
725 | 725 | * Show miscellaneous information (payment mode, payment term, ...) |
726 | 726 | * |
@@ -732,7 +732,7 @@ discard block |
||
732 | 732 | */ |
733 | 733 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) |
734 | 734 | { |
735 | - // phpcs:enable |
|
735 | + // phpcs:enable |
|
736 | 736 | global $conf, $mysoc; |
737 | 737 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
738 | 738 | |
@@ -783,8 +783,8 @@ discard block |
||
783 | 783 | return $posy; |
784 | 784 | } |
785 | 785 | |
786 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
787 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
786 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
787 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
788 | 788 | /** |
789 | 789 | * Show total to pay |
790 | 790 | * |
@@ -797,7 +797,7 @@ discard block |
||
797 | 797 | */ |
798 | 798 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs) |
799 | 799 | { |
800 | - // phpcs:enable |
|
800 | + // phpcs:enable |
|
801 | 801 | global $conf, $mysoc; |
802 | 802 | |
803 | 803 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
@@ -988,7 +988,7 @@ discard block |
||
988 | 988 | return ($tab2_top + ($tab2_hl * $index)); |
989 | 989 | } |
990 | 990 | |
991 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
991 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
992 | 992 | /** |
993 | 993 | * Show table for lines |
994 | 994 | * |
@@ -1088,7 +1088,7 @@ discard block |
||
1088 | 1088 | } |
1089 | 1089 | } |
1090 | 1090 | |
1091 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1091 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1092 | 1092 | /** |
1093 | 1093 | * Show top header of page. |
1094 | 1094 | * |
@@ -1357,7 +1357,7 @@ discard block |
||
1357 | 1357 | return $top_shift; |
1358 | 1358 | } |
1359 | 1359 | |
1360 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1360 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1361 | 1361 | /** |
1362 | 1362 | * Show footer of page. Need this->emetteur object |
1363 | 1363 | * |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | public $atleastoneratenotnull = 0; |
58 | 58 | public $atleastonediscount = 0; |
59 | 59 | |
60 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
60 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
61 | 61 | /** |
62 | 62 | * Return list of active generation models |
63 | 63 | * |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | */ |
68 | 68 | public static function liste_modeles($db, $maxfilenamelength = 0) |
69 | 69 | { |
70 | - // phpcs:enable |
|
70 | + // phpcs:enable |
|
71 | 71 | $type = 'order_supplier'; |
72 | 72 | $list = array(); |
73 | 73 |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | $this->posxdesc = $this->marge_gauche + 1; |
129 | 129 | } |
130 | 130 | |
131 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
131 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
132 | 132 | /** |
133 | 133 | * Function to build pdf onto disk |
134 | 134 | * |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
144 | 144 | { |
145 | - // phpcs:enable |
|
145 | + // phpcs:enable |
|
146 | 146 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
147 | 147 | |
148 | 148 | if (!is_object($outputlangs)) { |
@@ -493,7 +493,7 @@ discard block |
||
493 | 493 | } |
494 | 494 | } |
495 | 495 | |
496 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
496 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
497 | 497 | /** |
498 | 498 | * Show table for lines |
499 | 499 | * |
@@ -575,7 +575,7 @@ discard block |
||
575 | 575 | $pdf->MultiCell($this->page_largeur - $this->marge_droite - $posmiddle - 5, 20, '', 1); |
576 | 576 | } |
577 | 577 | |
578 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
578 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
579 | 579 | /** |
580 | 580 | * Show top header of page. |
581 | 581 | * |
@@ -589,7 +589,7 @@ discard block |
||
589 | 589 | */ |
590 | 590 | protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null, $titlekey = "Contract") |
591 | 591 | { |
592 | - // phpcs:enable |
|
592 | + // phpcs:enable |
|
593 | 593 | global $conf; |
594 | 594 | |
595 | 595 | $top_shift = 0; |
@@ -793,7 +793,7 @@ discard block |
||
793 | 793 | return $top_shift; |
794 | 794 | } |
795 | 795 | |
796 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
796 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
797 | 797 | /** |
798 | 798 | * Show footer of page. Need this->emetteur object |
799 | 799 | * |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | abstract class ModelePDFContract extends CommonDocGenerator |
41 | 41 | { |
42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
43 | 43 | /** |
44 | 44 | * Return list of active generation modules |
45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
51 | 51 | { |
52 | - // phpcs:enable |
|
52 | + // phpcs:enable |
|
53 | 53 | $type = 'contract'; |
54 | 54 | $list = array(); |
55 | 55 |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | public $version = 'dolibarr'; |
54 | 54 | |
55 | 55 | |
56 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
56 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
57 | 57 | /** |
58 | 58 | * Return list of active generation modules |
59 | 59 | * |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | */ |
64 | 64 | public static function liste_modeles($db, $maxfilenamelength = 0) |
65 | 65 | { |
66 | - // phpcs:enable |
|
66 | + // phpcs:enable |
|
67 | 67 | $type = 'movement'; |
68 | 68 | $list = array(); |
69 | 69 |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | |
126 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
126 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
127 | 127 | /** |
128 | 128 | * Function to build a document on disk using the generic odt module. |
129 | 129 | * |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
139 | 139 | { |
140 | - // phpcs:enable |
|
140 | + // phpcs:enable |
|
141 | 141 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
142 | 142 | |
143 | 143 | dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); |
@@ -775,7 +775,7 @@ discard block |
||
775 | 775 | } |
776 | 776 | } |
777 | 777 | |
778 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
778 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
779 | 779 | /** |
780 | 780 | * Show table for lines |
781 | 781 | * |
@@ -899,7 +899,7 @@ discard block |
||
899 | 899 | $pdf->SetLineStyle(array('dash' => 0)); |
900 | 900 | } |
901 | 901 | |
902 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
902 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
903 | 903 | /** |
904 | 904 | * Show top header of page. |
905 | 905 | * |
@@ -1122,7 +1122,7 @@ discard block |
||
1122 | 1122 | return $top_shift; |
1123 | 1123 | } |
1124 | 1124 | |
1125 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1125 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1126 | 1126 | /** |
1127 | 1127 | * Show footer of page. Need this->emetteur object |
1128 | 1128 | * |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | */ |
42 | 42 | abstract class ModelePDFProductBatch extends CommonDocGenerator |
43 | 43 | { |
44 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
44 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
45 | 45 | /** |
46 | 46 | * Return list of active generation modules |
47 | 47 | * |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public static function liste_modeles($db, $maxfilenamelength = 0) |
53 | 53 | { |
54 | - // phpcs:enable |
|
54 | + // phpcs:enable |
|
55 | 55 | $type = 'product_batch'; |
56 | 56 | $list = array(); |
57 | 57 |