@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | } |
181 | 181 | |
182 | 182 | |
183 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
183 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
184 | 184 | /** |
185 | 185 | * Function to build pdf onto disk |
186 | 186 | * |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | */ |
195 | 195 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
196 | 196 | { |
197 | - // phpcs:enable |
|
197 | + // phpcs:enable |
|
198 | 198 | global $user, $langs, $conf, $mysoc, $hookmanager, $nblines; |
199 | 199 | |
200 | 200 | dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); |
@@ -900,8 +900,8 @@ discard block |
||
900 | 900 | } |
901 | 901 | |
902 | 902 | |
903 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
904 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
903 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
904 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
905 | 905 | /** |
906 | 906 | * Show payments table |
907 | 907 | * |
@@ -914,7 +914,7 @@ discard block |
||
914 | 914 | */ |
915 | 915 | protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs, $heightforfooter = 0) |
916 | 916 | { |
917 | - // phpcs:enable |
|
917 | + // phpcs:enable |
|
918 | 918 | global $conf; |
919 | 919 | |
920 | 920 | $sign = 1; |
@@ -1058,8 +1058,8 @@ discard block |
||
1058 | 1058 | } |
1059 | 1059 | } |
1060 | 1060 | |
1061 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1062 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1061 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1062 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1063 | 1063 | /** |
1064 | 1064 | * Function _tableau_versements_header |
1065 | 1065 | * |
@@ -1075,7 +1075,7 @@ discard block |
||
1075 | 1075 | */ |
1076 | 1076 | protected function _tableau_versements_header($pdf, $object, $outputlangs, $default_font_size, $tab3_posx, $tab3_top, $tab3_width, $tab3_height) |
1077 | 1077 | { |
1078 | - // phpcs:enable |
|
1078 | + // phpcs:enable |
|
1079 | 1079 | $title = $outputlangs->transnoentities("PaymentsAlreadyDone"); |
1080 | 1080 | if ($object->type == 2) { |
1081 | 1081 | $title = $outputlangs->transnoentities("PaymentsBackAlreadyDone"); |
@@ -1100,8 +1100,8 @@ discard block |
||
1100 | 1100 | $pdf->line($tab3_posx, $tab3_top - 1 + $tab3_height, $tab3_posx + $tab3_width, $tab3_top - 1 + $tab3_height); |
1101 | 1101 | } |
1102 | 1102 | |
1103 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1104 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1103 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1104 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1105 | 1105 | /** |
1106 | 1106 | * Show miscellaneous information (payment mode, payment term, ...) |
1107 | 1107 | * |
@@ -1114,7 +1114,7 @@ discard block |
||
1114 | 1114 | */ |
1115 | 1115 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs, $outputlangsbis) |
1116 | 1116 | { |
1117 | - // phpcs:enable |
|
1117 | + // phpcs:enable |
|
1118 | 1118 | global $conf, $mysoc, $hookmanager; |
1119 | 1119 | |
1120 | 1120 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
@@ -1337,8 +1337,8 @@ discard block |
||
1337 | 1337 | } |
1338 | 1338 | |
1339 | 1339 | |
1340 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1341 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1340 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1341 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1342 | 1342 | /** |
1343 | 1343 | * Show total to pay |
1344 | 1344 | * |
@@ -1352,7 +1352,7 @@ discard block |
||
1352 | 1352 | */ |
1353 | 1353 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs, $outputlangsbis) |
1354 | 1354 | { |
1355 | - // phpcs:enable |
|
1355 | + // phpcs:enable |
|
1356 | 1356 | global $conf, $mysoc, $hookmanager; |
1357 | 1357 | |
1358 | 1358 | $sign = 1; |
@@ -1683,7 +1683,7 @@ discard block |
||
1683 | 1683 | return ($tab2_top + ($tab2_hl * $index)); |
1684 | 1684 | } |
1685 | 1685 | |
1686 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1686 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1687 | 1687 | /** |
1688 | 1688 | * Show table for lines |
1689 | 1689 | * |
@@ -1804,7 +1804,7 @@ discard block |
||
1804 | 1804 | } |
1805 | 1805 | } |
1806 | 1806 | |
1807 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1807 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1808 | 1808 | /** |
1809 | 1809 | * Show top header of page. |
1810 | 1810 | * |
@@ -1817,7 +1817,7 @@ discard block |
||
1817 | 1817 | */ |
1818 | 1818 | protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null) |
1819 | 1819 | { |
1820 | - // phpcs:enable |
|
1820 | + // phpcs:enable |
|
1821 | 1821 | global $conf, $langs; |
1822 | 1822 | |
1823 | 1823 | $ltrdirection = 'L'; |
@@ -2195,7 +2195,7 @@ discard block |
||
2195 | 2195 | return $top_shift; |
2196 | 2196 | } |
2197 | 2197 | |
2198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
2198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
2199 | 2199 | /** |
2200 | 2200 | * Show footer of page. Need this->emetteur object |
2201 | 2201 | * |
@@ -444,7 +444,7 @@ discard block |
||
444 | 444 | // $pdf->GetY() here can't be used. It is bottom of the second address box but first one may be higher |
445 | 445 | |
446 | 446 | // $tab_top is y where we must continue content (90 = 42 + 48: 42 is height of logo and ref, 48 is address blocks) |
447 | - $tab_top = 90 + $top_shift; // top_shift is an addition for linked objects or addons (0 in most cases) |
|
447 | + $tab_top = 90 + $top_shift; // top_shift is an addition for linked objects or addons (0 in most cases) |
|
448 | 448 | $tab_top_newpage = (!getDolGlobalInt('MAIN_PDF_DONOTREPEAT_HEAD') ? 42 + $top_shift : 10); |
449 | 449 | |
450 | 450 | // You can add more thing under header here, if you increase $extra_under_address_shift too. |
@@ -774,7 +774,7 @@ discard block |
||
774 | 774 | if (!isset($this->tva[$vatrate])) { |
775 | 775 | $this->tva[$vatrate] = 0; |
776 | 776 | } |
777 | - $this->tva[$vatrate] += $tvaligne; // ->tva is abandoned, we use now ->tva_array that is more complete |
|
777 | + $this->tva[$vatrate] += $tvaligne; // ->tva is abandoned, we use now ->tva_array that is more complete |
|
778 | 778 | $vatcode = $object->lines[$i]->vat_src_code; |
779 | 779 | if (empty($this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'])) { |
780 | 780 | $this->tva_array[$vatrate . ($vatcode ? ' (' . $vatcode . ')' : '')]['amount'] = 0; |
@@ -1153,7 +1153,7 @@ discard block |
||
1153 | 1153 | $lib_condition_paiement = str_replace('\n', "\n", $lib_condition_paiement); |
1154 | 1154 | $pdf->MultiCell(67, 4, $lib_condition_paiement, 0, 'L'); |
1155 | 1155 | |
1156 | - $posy = $pdf->GetY() + 3; // We need spaces for 2 lines payment conditions |
|
1156 | + $posy = $pdf->GetY() + 3; // We need spaces for 2 lines payment conditions |
|
1157 | 1157 | } |
1158 | 1158 | |
1159 | 1159 | // Show category of operations |
@@ -2113,7 +2113,7 @@ discard block |
||
2113 | 2113 | |
2114 | 2114 | $carac_client_name = pdfBuildThirdpartyName($thirdparty, $outputlangs); |
2115 | 2115 | |
2116 | - $mode = 'target'; |
|
2116 | + $mode = 'target'; |
|
2117 | 2117 | $carac_client = pdf_build_address($outputlangs, $this->emetteur, $object->thirdparty, ($usecontact ? $object->contact : ''), $usecontact, $mode, $object); |
2118 | 2118 | |
2119 | 2119 | // Show recipient |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public function getExample() |
83 | 83 | { |
84 | - return $this->prefix . '0-0501-0001'; // TC0-0501-0001 |
|
84 | + return $this->prefix . '0-0501-0001'; // TC0-0501-0001 |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -98,10 +98,10 @@ discard block |
||
98 | 98 | $pryymm = ''; |
99 | 99 | $max = ''; |
100 | 100 | |
101 | - $pos_source = 0; // POS source = Terminal ID |
|
101 | + $pos_source = 0; // POS source = Terminal ID |
|
102 | 102 | |
103 | 103 | // First, we get the max value |
104 | - $posindice = strlen($this->prefix . $pos_source . '-____-') + 1; // So posindice is position after TCX-YYMM- |
|
104 | + $posindice = strlen($this->prefix . $pos_source . '-____-') + 1; // So posindice is position after TCX-YYMM- |
|
105 | 105 | |
106 | 106 | $sql = "SELECT MAX(CAST(SUBSTRING(ref FROM " . $posindice . ") AS SIGNED)) as max"; |
107 | 107 | $sql .= " FROM " . MAIN_DB_PREFIX . "facture"; |
@@ -141,10 +141,10 @@ discard block |
||
141 | 141 | { |
142 | 142 | global $db; |
143 | 143 | |
144 | - $pos_source = is_object($invoice) && $invoice->pos_source > 0 ? $invoice->pos_source : 0; // POS source = Terminal ID |
|
144 | + $pos_source = is_object($invoice) && $invoice->pos_source > 0 ? $invoice->pos_source : 0; // POS source = Terminal ID |
|
145 | 145 | |
146 | 146 | // First, we get the max value |
147 | - $posindice = strlen($this->prefix . $pos_source . '-____-') + 1; // So posindice is position after TCX-YYMM- |
|
147 | + $posindice = strlen($this->prefix . $pos_source . '-____-') + 1; // So posindice is position after TCX-YYMM- |
|
148 | 148 | $sql = "SELECT MAX(CAST(SUBSTRING(ref FROM " . $posindice . ") AS SIGNED)) as max"; // This is standard SQL |
149 | 149 | $sql .= " FROM " . MAIN_DB_PREFIX . "facture"; |
150 | 150 | $sql .= " WHERE ref LIKE '" . $db->escape($this->prefix . $pos_source . "-____-%") . "'"; |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | |
248 | 248 | |
249 | 249 | |
250 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
250 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
251 | 251 | /** |
252 | 252 | * Function to build PDF on disk, then output on HTTP stream. |
253 | 253 | * |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | */ |
261 | 261 | public function write_file($arrayofrecords, $outputlangs, $srctemplatepath, $outputdir = '', $filename = 'tmp_address_sheet.pdf') |
262 | 262 | { |
263 | - // phpcs:enable |
|
263 | + // phpcs:enable |
|
264 | 264 | global $user, $conf, $langs, $mysoc, $_Avery_Labels; |
265 | 265 | |
266 | 266 | $this->code = $srctemplatepath; |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | // use this method in future refactoring |
48 | 48 | } |
49 | 49 | |
50 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
50 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
51 | 51 | /** |
52 | 52 | * Output a sticker on page at position _COUNTX, _COUNTY (_COUNTX and _COUNTY start from 0) |
53 | 53 | * - %LOGO% is replace with company logo |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | */ |
65 | 65 | public function Add_PDF_label(&$pdf, $textleft, $header, $footer, $outputlangs, $textright = '', $photo = '') |
66 | 66 | { |
67 | - // phpcs:enable |
|
67 | + // phpcs:enable |
|
68 | 68 | global $mysoc, $conf, $langs; |
69 | 69 | global $forceimgscalewidth, $forceimgscaleheight; |
70 | 70 | |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | |
225 | 225 | |
226 | 226 | |
227 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
227 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
228 | 228 | /** |
229 | 229 | * Function to build PDF on disk, then output on HTTP stream. |
230 | 230 | * |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | */ |
238 | 238 | public function write_file($arrayofrecords, $outputlangs, $srctemplatepath, $outputdir = '', $filename = 'tmp_address_sheet.pdf') |
239 | 239 | { |
240 | - // phpcs:enable |
|
240 | + // phpcs:enable |
|
241 | 241 | global $user, $conf, $langs, $mysoc, $_Avery_Labels; |
242 | 242 | |
243 | 243 | $this->code = $srctemplatepath; |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | 'type' => 'info', |
117 | 117 | ); |
118 | 118 | } else { |
119 | - $keyforprovider = ''; // @FIXME |
|
119 | + $keyforprovider = ''; // @FIXME |
|
120 | 120 | |
121 | 121 | $this->google_id = getDolGlobalString('OAUTH_GOOGLE_ID'); |
122 | 122 | $this->google_secret = getDolGlobalString('OAUTH_GOOGLE_SECRET'); |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | global $conf; |
259 | 259 | $ret = array(); |
260 | 260 | |
261 | - $keyforprovider = ''; // @FIXME |
|
261 | + $keyforprovider = ''; // @FIXME |
|
262 | 262 | |
263 | 263 | // Token storage |
264 | 264 | $storage = new DoliStorage($this->db, $conf, $keyforprovider); |
@@ -400,7 +400,7 @@ discard block |
||
400 | 400 | 'contentType' => $contenttype, |
401 | 401 | ); |
402 | 402 | |
403 | - $keyforprovider = ''; // @FIXME |
|
403 | + $keyforprovider = ''; // @FIXME |
|
404 | 404 | |
405 | 405 | // Dolibarr Token storage |
406 | 406 | $storage = new DoliStorage($this->db, $conf, $keyforprovider); |
@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | $error = 0; |
453 | 453 | $html = ''; |
454 | 454 | |
455 | - $keyforprovider = ''; // @FIXME |
|
455 | + $keyforprovider = ''; // @FIXME |
|
456 | 456 | |
457 | 457 | // Token storage |
458 | 458 | $storage = new DoliStorage($this->db, $conf, $keyforprovider); |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | |
140 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
140 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
141 | 141 | /** |
142 | 142 | * Function to build pdf onto disk |
143 | 143 | * |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | */ |
152 | 152 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
153 | 153 | { |
154 | - // phpcs:enable |
|
154 | + // phpcs:enable |
|
155 | 155 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
156 | 156 | |
157 | 157 | dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); |
@@ -794,7 +794,7 @@ discard block |
||
794 | 794 | } |
795 | 795 | } |
796 | 796 | |
797 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
797 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
798 | 798 | /** |
799 | 799 | * Return list of active generation modules |
800 | 800 | * |
@@ -804,11 +804,11 @@ discard block |
||
804 | 804 | */ |
805 | 805 | public static function liste_modeles($db, $maxfilenamelength = 0) |
806 | 806 | { |
807 | - // phpcs:enable |
|
807 | + // phpcs:enable |
|
808 | 808 | return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub |
809 | 809 | } |
810 | 810 | |
811 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
811 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
812 | 812 | /** |
813 | 813 | * Show table for lines |
814 | 814 | * |
@@ -869,7 +869,7 @@ discard block |
||
869 | 869 | } |
870 | 870 | } |
871 | 871 | |
872 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
872 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
873 | 873 | /** |
874 | 874 | * Show top header of page. |
875 | 875 | * |
@@ -1121,7 +1121,7 @@ discard block |
||
1121 | 1121 | return $top_shift; |
1122 | 1122 | } |
1123 | 1123 | |
1124 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1124 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1125 | 1125 | /** |
1126 | 1126 | * Show footer of page. Need this->emetteur object |
1127 | 1127 | * |
@@ -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)) { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | } |
134 | 134 | |
135 | 135 | |
136 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
136 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
137 | 137 | /** |
138 | 138 | * Function to build pdf onto disk |
139 | 139 | * |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | */ |
148 | 148 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
149 | 149 | { |
150 | - // phpcs:enable |
|
150 | + // phpcs:enable |
|
151 | 151 | global $user, $langs, $conf, $mysoc, $hookmanager; |
152 | 152 | |
153 | 153 | if (!is_object($outputlangs)) { |
@@ -587,8 +587,8 @@ discard block |
||
587 | 587 | return 0; |
588 | 588 | } |
589 | 589 | |
590 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
591 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
590 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
591 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
592 | 592 | /** |
593 | 593 | * Show miscellaneous information (payment mode, payment term, ...) |
594 | 594 | * |
@@ -600,7 +600,7 @@ discard block |
||
600 | 600 | */ |
601 | 601 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) |
602 | 602 | { |
603 | - // phpcs:enable |
|
603 | + // phpcs:enable |
|
604 | 604 | global $conf, $mysoc; |
605 | 605 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
606 | 606 | |
@@ -617,7 +617,7 @@ discard block |
||
617 | 617 | $pdf->MultiCell($larg_sign, 2, $outputlangs->trans("ForCustomer") . ':', '', 'L'); |
618 | 618 | } |
619 | 619 | |
620 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
620 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
621 | 621 | /** |
622 | 622 | * Show table for lines |
623 | 623 | * |
@@ -683,7 +683,7 @@ discard block |
||
683 | 683 | } |
684 | 684 | } |
685 | 685 | |
686 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
686 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
687 | 687 | /** |
688 | 688 | * Show top header of page. |
689 | 689 | * |
@@ -861,7 +861,7 @@ discard block |
||
861 | 861 | return 0; |
862 | 862 | } |
863 | 863 | |
864 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
864 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
865 | 865 | /** |
866 | 866 | * Show footer of page. Need this->emetteur object |
867 | 867 | * |
@@ -71,8 +71,8 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public $version = 'dolibarr'; |
73 | 73 | |
74 | - public $posxcomm; // For customer comment column |
|
75 | - public $posxweightvol; // For weight or volume |
|
74 | + public $posxcomm; // For customer comment column |
|
75 | + public $posxweightvol; // For weight or volume |
|
76 | 76 | public $posxremainingqty; |
77 | 77 | |
78 | 78 | |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | |
116 | 116 | // Define position of columns |
117 | 117 | $this->posxdesc = $this->marge_gauche + 1; |
118 | - $this->posxcomm = 112; // customer comment |
|
118 | + $this->posxcomm = 112; // customer comment |
|
119 | 119 | //$this->posxtva=112; |
120 | 120 | //$this->posxup=126; |
121 | 121 | $this->posxqty = 165; |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | |
115 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
115 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
116 | 116 | /** |
117 | 117 | * Function to build pdf onto disk |
118 | 118 | * |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
128 | 128 | { |
129 | - // phpcs:enable |
|
129 | + // phpcs:enable |
|
130 | 130 | global $user, $langs, $conf, $mysoc, $hookmanager; |
131 | 131 | |
132 | 132 | if (!is_object($outputlangs)) { |
@@ -594,8 +594,8 @@ discard block |
||
594 | 594 | return 0; |
595 | 595 | } |
596 | 596 | |
597 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
598 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
597 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
598 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
599 | 599 | /** |
600 | 600 | * Show miscellaneous information (payment mode, payment term, ...) |
601 | 601 | * |
@@ -607,7 +607,7 @@ discard block |
||
607 | 607 | */ |
608 | 608 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) |
609 | 609 | { |
610 | - // phpcs:enable |
|
610 | + // phpcs:enable |
|
611 | 611 | global $conf, $mysoc; |
612 | 612 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
613 | 613 | |
@@ -625,7 +625,7 @@ discard block |
||
625 | 625 | } |
626 | 626 | |
627 | 627 | |
628 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
628 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
629 | 629 | /** |
630 | 630 | * Show table for lines |
631 | 631 | * |
@@ -675,7 +675,7 @@ discard block |
||
675 | 675 | } |
676 | 676 | } |
677 | 677 | |
678 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
678 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
679 | 679 | /** |
680 | 680 | * Show top header of page. |
681 | 681 | * |
@@ -853,7 +853,7 @@ discard block |
||
853 | 853 | return 0; |
854 | 854 | } |
855 | 855 | |
856 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
856 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
857 | 857 | /** |
858 | 858 | * Show footer of page. Need this->emetteur object |
859 | 859 | * |