@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | abstract class ModelePDFStockTransfer extends CommonDocGenerator |
42 | 42 | { |
43 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
43 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
44 | 44 | /** |
45 | 45 | * Return list of active generation modules |
46 | 46 | * |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | public static function liste_modeles($db, $maxfilenamelength = 0) |
52 | 52 | { |
53 | - // phpcs:enable |
|
53 | + // phpcs:enable |
|
54 | 54 | $type = 'stocktransfer'; |
55 | 55 | $list = array(); |
56 | 56 |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public $error = ''; |
36 | 36 | |
37 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
37 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
38 | 38 | /** |
39 | 39 | * Return list of active generation modules |
40 | 40 | * |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | public static function liste_modeles($db, $maxfilenamelength = 0) |
46 | 46 | { |
47 | - // phpcs:enable |
|
47 | + // phpcs:enable |
|
48 | 48 | $type = 'action'; |
49 | 49 | $list = array(); |
50 | 50 |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | $this->subject = $langs->transnoentitiesnoconv("ActionsReport") . ' ' . $this->year . "-" . $this->month; |
117 | 117 | } |
118 | 118 | |
119 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
119 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
120 | 120 | /** |
121 | 121 | * Write the object to document file to disk |
122 | 122 | * |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | public function write_file($socid, $outputlangs) |
128 | 128 | { |
129 | - // phpcs:enable |
|
129 | + // phpcs:enable |
|
130 | 130 | global $user, $conf, $langs, $hookmanager; |
131 | 131 | |
132 | 132 | if (!is_object($outputlangs)) { |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | $this->posxdesc = $this->marge_gauche + 1; |
118 | 118 | } |
119 | 119 | |
120 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
120 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
121 | 121 | /** |
122 | 122 | * Function to build pdf onto disk |
123 | 123 | * |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
133 | 133 | { |
134 | - // phpcs:enable |
|
134 | + // phpcs:enable |
|
135 | 135 | global $user, $langs, $conf, $mysoc, $db, $hookmanager; |
136 | 136 | |
137 | 137 | if (!is_object($outputlangs)) { |
@@ -441,7 +441,7 @@ discard block |
||
441 | 441 | } |
442 | 442 | } |
443 | 443 | |
444 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
444 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
445 | 445 | /** |
446 | 446 | * Show table for lines |
447 | 447 | * |
@@ -514,7 +514,7 @@ discard block |
||
514 | 514 | } |
515 | 515 | } |
516 | 516 | |
517 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
517 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
518 | 518 | /** |
519 | 519 | * Show top header of page. |
520 | 520 | * |
@@ -704,7 +704,7 @@ discard block |
||
704 | 704 | return 0; |
705 | 705 | } |
706 | 706 | |
707 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
707 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
708 | 708 | /** |
709 | 709 | * Show footer of page. Need this->emetteur object |
710 | 710 | * |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | abstract class ModelePDFFicheinter 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 = 'ficheinter'; |
52 | 52 | $list = array(); |
53 | 53 | |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | */ |
84 | 84 | function fichinter_create($db, $object, $modele, $outputlangs, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
85 | 85 | { |
86 | - // phpcs:enable |
|
86 | + // phpcs:enable |
|
87 | 87 | global $conf, $langs; |
88 | 88 | $langs->load("ficheinter"); |
89 | 89 |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | return $texte; |
191 | 191 | } |
192 | 192 | |
193 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
193 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
194 | 194 | /** |
195 | 195 | * Function to build a document on disk using the generic odt module. |
196 | 196 | * |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | */ |
205 | 205 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
206 | 206 | { |
207 | - // phpcs:enable |
|
207 | + // phpcs:enable |
|
208 | 208 | global $stock, $langs, $conf, $mysoc, $hookmanager, $user; |
209 | 209 | |
210 | 210 | if (empty($srctemplatepath)) { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | |
122 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
122 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
123 | 123 | /** |
124 | 124 | * Function to build a document on disk using the generic odt module. |
125 | 125 | * |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | */ |
134 | 134 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
135 | 135 | { |
136 | - // phpcs:enable |
|
136 | + // phpcs:enable |
|
137 | 137 | global $user, $langs, $conf, $mysoc, $db, $hookmanager; |
138 | 138 | |
139 | 139 | if (!is_object($outputlangs)) { |
@@ -572,7 +572,7 @@ discard block |
||
572 | 572 | } |
573 | 573 | } |
574 | 574 | |
575 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
575 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
576 | 576 | /** |
577 | 577 | * Show table for lines |
578 | 578 | * |
@@ -679,7 +679,7 @@ discard block |
||
679 | 679 | } |
680 | 680 | } |
681 | 681 | |
682 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
682 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
683 | 683 | /** |
684 | 684 | * Show top header of page. |
685 | 685 | * |
@@ -833,7 +833,7 @@ discard block |
||
833 | 833 | return $top_shift; |
834 | 834 | } |
835 | 835 | |
836 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
836 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
837 | 837 | /** |
838 | 838 | * Show footer of page. Need this->emetteur object |
839 | 839 | * |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | public $version = 'dolibarr'; |
51 | 51 | |
52 | 52 | |
53 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
53 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
54 | 54 | /** |
55 | 55 | * Return list of active generation modules |
56 | 56 | * |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | public static function liste_modeles($db, $maxfilenamelength = 0) |
62 | 62 | { |
63 | - // phpcs:enable |
|
63 | + // phpcs:enable |
|
64 | 64 | $type = 'stock'; |
65 | 65 | $list = array(); |
66 | 66 |
@@ -118,13 +118,13 @@ |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
121 | - * Return array head with list of tabs to view object information |
|
122 | - * |
|
123 | - * @param BonPrelevement $object Member |
|
124 | - * @param int $nbOfInvoices No of invoices |
|
125 | - * @param int $nbOfSalaryInvoice No of salary invoices |
|
126 | - * @return array head |
|
127 | - */ |
|
121 | + * Return array head with list of tabs to view object information |
|
122 | + * |
|
123 | + * @param BonPrelevement $object Member |
|
124 | + * @param int $nbOfInvoices No of invoices |
|
125 | + * @param int $nbOfSalaryInvoice No of salary invoices |
|
126 | + * @return array head |
|
127 | + */ |
|
128 | 128 | function bon_prelevement_prepare_head(BonPrelevement $object, $nbOfInvoices, $nbOfSalaryInvoice) |
129 | 129 | { |
130 | 130 | global $langs, $conf; |