@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | abstract class ModelePDFTask extends CommonDocGenerator |
| 37 | 37 | { |
| 38 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 38 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 39 | 39 | /** |
| 40 | 40 | * Return list of active generation modules |
| 41 | 41 | * |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 47 | 47 | { |
| 48 | - // phpcs:enable |
|
| 48 | + // phpcs:enable |
|
| 49 | 49 | $type = 'project_task'; |
| 50 | 50 | $list = array(); |
| 51 | 51 | |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | } |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 130 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 131 | 131 | /** |
| 132 | 132 | * Function to build pdf onto disk |
| 133 | 133 | * |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | */ |
| 142 | 142 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 143 | 143 | { |
| 144 | - // phpcs:enable |
|
| 144 | + // phpcs:enable |
|
| 145 | 145 | global $user, $conf, $langs, $hookmanager; |
| 146 | 146 | |
| 147 | 147 | $object->fetch_thirdparty(); |
@@ -676,8 +676,8 @@ discard block |
||
| 676 | 676 | } |
| 677 | 677 | } |
| 678 | 678 | |
| 679 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 680 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 679 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 680 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 681 | 681 | /** |
| 682 | 682 | * Show total to pay |
| 683 | 683 | * |
@@ -692,7 +692,7 @@ discard block |
||
| 692 | 692 | */ |
| 693 | 693 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs, $totalOrdered, $totalAmount = 0) |
| 694 | 694 | { |
| 695 | - // phpcs:enable |
|
| 695 | + // phpcs:enable |
|
| 696 | 696 | global $conf, $mysoc; |
| 697 | 697 | |
| 698 | 698 | $sign = 1; |
@@ -794,7 +794,7 @@ discard block |
||
| 794 | 794 | return ($tab2_top + ($tab2_hl * $index)); |
| 795 | 795 | } |
| 796 | 796 | |
| 797 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 797 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 798 | 798 | /** |
| 799 | 799 | * Show table for lines |
| 800 | 800 | * |
@@ -888,7 +888,7 @@ discard block |
||
| 888 | 888 | } |
| 889 | 889 | } |
| 890 | 890 | |
| 891 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 891 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 892 | 892 | /** |
| 893 | 893 | * Show top header of page. |
| 894 | 894 | * |
@@ -1129,7 +1129,7 @@ discard block |
||
| 1129 | 1129 | return $top_shift; |
| 1130 | 1130 | } |
| 1131 | 1131 | |
| 1132 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1132 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1133 | 1133 | /** |
| 1134 | 1134 | * Show footer of page. Need this->emetteur object |
| 1135 | 1135 | * |
@@ -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)) { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | abstract class ModelePdfReception extends CommonDocGenerator |
| 34 | 34 | { |
| 35 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 35 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 36 | 36 | /** |
| 37 | 37 | * Return list of active generation modules |
| 38 | 38 | * |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 44 | 44 | { |
| 45 | - // phpcs:enable |
|
| 45 | + // phpcs:enable |
|
| 46 | 46 | $type = 'reception'; |
| 47 | 47 | $list = array(); |
| 48 | 48 | |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | return 1; |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 186 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 187 | 187 | /** |
| 188 | 188 | * Write the object to document file to disk |
| 189 | 189 | * |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | */ |
| 195 | 195 | public function write_file($don, $outputlangs, $currency = '') |
| 196 | 196 | { |
| 197 | - // phpcs:enable |
|
| 197 | + // phpcs:enable |
|
| 198 | 198 | global $user, $conf, $langs, $mysoc; |
| 199 | 199 | |
| 200 | 200 | $id = (!is_object($don) ? $don : ''); |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | abstract class ModeleDon extends CommonDocGenerator |
| 39 | 39 | { |
| 40 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 40 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 41 | 41 | /** |
| 42 | 42 | * Return list of active generation modules |
| 43 | 43 | * |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 49 | 49 | { |
| 50 | - // phpcs:enable |
|
| 50 | + // phpcs:enable |
|
| 51 | 51 | $type = 'donation'; |
| 52 | 52 | $list = array(); |
| 53 | 53 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | |
| 69 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 69 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 70 | 70 | /** |
| 71 | 71 | * Write the object to document file to disk |
| 72 | 72 | * |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function write_file($don, $outputlangs, $currency = '') |
| 79 | 79 | { |
| 80 | - // phpcs:enable |
|
| 80 | + // phpcs:enable |
|
| 81 | 81 | global $user, $conf, $langs, $mysoc; |
| 82 | 82 | |
| 83 | 83 | $now = dol_now(); |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | |
| 185 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 185 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 186 | 186 | /** |
| 187 | 187 | * Function to build pdf onto disk |
| 188 | 188 | * |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | */ |
| 197 | 197 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 198 | 198 | { |
| 199 | - // phpcs:enable |
|
| 199 | + // phpcs:enable |
|
| 200 | 200 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
| 201 | 201 | |
| 202 | 202 | dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); |
@@ -1974,7 +1974,7 @@ discard block |
||
| 1974 | 1974 | return ($tab2_top + ($tab2_hl * $index)); |
| 1975 | 1975 | } |
| 1976 | 1976 | |
| 1977 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1977 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1978 | 1978 | /** |
| 1979 | 1979 | * Return list of active generation modules |
| 1980 | 1980 | * |
@@ -1984,11 +1984,11 @@ discard block |
||
| 1984 | 1984 | */ |
| 1985 | 1985 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 1986 | 1986 | { |
| 1987 | - // phpcs:enable |
|
| 1987 | + // phpcs:enable |
|
| 1988 | 1988 | return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub |
| 1989 | 1989 | } |
| 1990 | 1990 | |
| 1991 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1991 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1992 | 1992 | /** |
| 1993 | 1993 | * Show table for lines |
| 1994 | 1994 | * |
@@ -2056,7 +2056,7 @@ discard block |
||
| 2056 | 2056 | } |
| 2057 | 2057 | } |
| 2058 | 2058 | |
| 2059 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2059 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2060 | 2060 | /** |
| 2061 | 2061 | * Show top header of page. This include the logo, ref and address blocks |
| 2062 | 2062 | * |
@@ -2069,7 +2069,7 @@ discard block |
||
| 2069 | 2069 | */ |
| 2070 | 2070 | protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null) |
| 2071 | 2071 | { |
| 2072 | - // phpcs:enable |
|
| 2072 | + // phpcs:enable |
|
| 2073 | 2073 | global $conf, $langs; |
| 2074 | 2074 | |
| 2075 | 2075 | $ltrdirection = 'L'; |
@@ -2449,7 +2449,7 @@ discard block |
||
| 2449 | 2449 | return $pagehead; |
| 2450 | 2450 | } |
| 2451 | 2451 | |
| 2452 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2452 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2453 | 2453 | /** |
| 2454 | 2454 | * Show footer of page. Need this->emetteur object |
| 2455 | 2455 | * |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | |
| 185 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 185 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 186 | 186 | /** |
| 187 | 187 | * Function to build pdf onto disk |
| 188 | 188 | * |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | */ |
| 197 | 197 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 198 | 198 | { |
| 199 | - // phpcs:enable |
|
| 199 | + // phpcs:enable |
|
| 200 | 200 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
| 201 | 201 | |
| 202 | 202 | dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); |
@@ -1974,7 +1974,7 @@ discard block |
||
| 1974 | 1974 | return ($tab2_top + ($tab2_hl * $index)); |
| 1975 | 1975 | } |
| 1976 | 1976 | |
| 1977 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1977 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1978 | 1978 | /** |
| 1979 | 1979 | * Return list of active generation modules |
| 1980 | 1980 | * |
@@ -1984,11 +1984,11 @@ discard block |
||
| 1984 | 1984 | */ |
| 1985 | 1985 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 1986 | 1986 | { |
| 1987 | - // phpcs:enable |
|
| 1987 | + // phpcs:enable |
|
| 1988 | 1988 | return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub |
| 1989 | 1989 | } |
| 1990 | 1990 | |
| 1991 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1991 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1992 | 1992 | /** |
| 1993 | 1993 | * Show table for lines |
| 1994 | 1994 | * |
@@ -2056,7 +2056,7 @@ discard block |
||
| 2056 | 2056 | } |
| 2057 | 2057 | } |
| 2058 | 2058 | |
| 2059 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2059 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2060 | 2060 | /** |
| 2061 | 2061 | * Show top header of page. This include the logo, ref and address blocks |
| 2062 | 2062 | * |
@@ -2069,7 +2069,7 @@ discard block |
||
| 2069 | 2069 | */ |
| 2070 | 2070 | protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null) |
| 2071 | 2071 | { |
| 2072 | - // phpcs:enable |
|
| 2072 | + // phpcs:enable |
|
| 2073 | 2073 | global $conf, $langs; |
| 2074 | 2074 | |
| 2075 | 2075 | $ltrdirection = 'L'; |
@@ -2449,7 +2449,7 @@ discard block |
||
| 2449 | 2449 | return $pagehead; |
| 2450 | 2450 | } |
| 2451 | 2451 | |
| 2452 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2452 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 2453 | 2453 | /** |
| 2454 | 2454 | * Show footer of page. Need this->emetteur object |
| 2455 | 2455 | * |