@@ -18,11 +18,11 @@ |
||
18 | 18 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
19 | 19 | */ |
20 | 20 | |
21 | - /** |
|
22 | - * \file htdocs/webportal/controllers/default.controller.class.php |
|
23 | - * \ingroup webportal |
|
24 | - * \brief This file is a controller for default |
|
25 | - */ |
|
21 | + /** |
|
22 | + * \file htdocs/webportal/controllers/default.controller.class.php |
|
23 | + * \ingroup webportal |
|
24 | + * \brief This file is a controller for default |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Class for DefaultController |
@@ -18,14 +18,14 @@ |
||
18 | 18 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
19 | 19 | */ |
20 | 20 | |
21 | - /** |
|
22 | - * \file htdocs/webportal/controllers/login.controller.class.php |
|
23 | - * \ingroup webportal |
|
24 | - * \brief This file is a controller for login |
|
25 | - */ |
|
21 | + /** |
|
22 | + * \file htdocs/webportal/controllers/login.controller.class.php |
|
23 | + * \ingroup webportal |
|
24 | + * \brief This file is a controller for login |
|
25 | + */ |
|
26 | 26 | /** |
27 | - * Class for LoginController |
|
28 | - */ |
|
27 | + * Class for LoginController |
|
28 | + */ |
|
29 | 29 | class LoginController extends Controller |
30 | 30 | { |
31 | 31 | /** |
@@ -18,11 +18,11 @@ |
||
18 | 18 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
19 | 19 | */ |
20 | 20 | |
21 | - /** |
|
22 | - * \file htdocs/webportal/controllers/document.controller.class.php |
|
23 | - * \ingroup webportal |
|
24 | - * \brief This file is a controller for documents |
|
25 | - */ |
|
21 | + /** |
|
22 | + * \file htdocs/webportal/controllers/document.controller.class.php |
|
23 | + * \ingroup webportal |
|
24 | + * \brief This file is a controller for documents |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/files.lib.php'; |
28 | 28 |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | return $texte; |
207 | 207 | } |
208 | 208 | |
209 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
209 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
210 | 210 | /** |
211 | 211 | * Function to build a document on disk using the generic odt module. |
212 | 212 | * |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | */ |
221 | 221 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
222 | 222 | { |
223 | - // phpcs:enable |
|
223 | + // phpcs:enable |
|
224 | 224 | global $user, $langs, $conf, $mysoc, $hookmanager; |
225 | 225 | global $action; |
226 | 226 |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | |
93 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
93 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
94 | 94 | /** |
95 | 95 | * This is the main function that returns the array of emails |
96 | 96 | * |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | public function add_to_target($mailing_id) |
101 | 101 | { |
102 | - // phpcs:enable |
|
102 | + // phpcs:enable |
|
103 | 103 | $target = array(); |
104 | 104 | $j = 0; |
105 | 105 |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | |
343 | 343 | |
344 | 344 | |
345 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
345 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
346 | 346 | /** |
347 | 347 | * Clean sensible object datas |
348 | 348 | * |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | */ |
352 | 352 | protected function _cleanObjectDatas($object) |
353 | 353 | { |
354 | - // phpcs:enable |
|
354 | + // phpcs:enable |
|
355 | 355 | $object = parent::_cleanObjectDatas($object); |
356 | 356 | |
357 | 357 | unset($object->rowid); |
@@ -979,7 +979,7 @@ discard block |
||
979 | 979 | return $this->LibStatut($this->status, $mode); |
980 | 980 | } |
981 | 981 | |
982 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
982 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
983 | 983 | /** |
984 | 984 | * Return the label of a given status |
985 | 985 | * |
@@ -989,7 +989,7 @@ discard block |
||
989 | 989 | */ |
990 | 990 | public function LibStatut($status, $mode = 0) |
991 | 991 | { |
992 | - // phpcs:enable |
|
992 | + // phpcs:enable |
|
993 | 993 | if (is_null($status)) { |
994 | 994 | return ''; |
995 | 995 | } |
@@ -90,8 +90,8 @@ discard block |
||
90 | 90 | '', |
91 | 91 | array( |
92 | 92 | 'dolibarrkey' => array('name' => 'dolibarrkey', 'type' => 'xsd:string'), |
93 | - 'sourceapplication' => array('name' => 'sourceapplication', 'type' => 'xsd:string'), |
|
94 | - 'login' => array('name' => 'login', 'type' => 'xsd:string'), |
|
93 | + 'sourceapplication' => array('name' => 'sourceapplication', 'type' => 'xsd:string'), |
|
94 | + 'login' => array('name' => 'login', 'type' => 'xsd:string'), |
|
95 | 95 | 'password' => array('name' => 'password', 'type' => 'xsd:string'), |
96 | 96 | 'entity' => array('name' => 'entity', 'type' => 'xsd:string') |
97 | 97 | ) |
@@ -120,12 +120,12 @@ discard block |
||
120 | 120 | 'amount' => array('name' => 'amount', 'type' => 'xsd:double'), |
121 | 121 | 'num_payment' => array('name' => 'num_payment', 'type' => 'xsd:string'), |
122 | 122 | 'thirdparty_id' => array('name' => 'thirdparty_id', 'type' => 'xsd:int'), |
123 | - 'bank_account' => array('name' => 'bank_account', 'type' => 'xsd:int'), |
|
124 | - 'payment_mode_id' => array('name' => 'payment_mode_id', 'type' => 'xsd:int'), |
|
125 | - 'invoice_id' => array('name' => 'invoice_id', 'type' => 'xsd:int'), |
|
126 | - 'int_label' => array('name' => 'int_label', 'type' => 'xsd:string'), |
|
127 | - 'emitter' => array('name' => 'emitter', 'type' => 'xsd:string'), |
|
128 | - 'bank_source' => array('name' => 'bank_source', 'type' => 'xsd:string'), |
|
123 | + 'bank_account' => array('name' => 'bank_account', 'type' => 'xsd:int'), |
|
124 | + 'payment_mode_id' => array('name' => 'payment_mode_id', 'type' => 'xsd:int'), |
|
125 | + 'invoice_id' => array('name' => 'invoice_id', 'type' => 'xsd:int'), |
|
126 | + 'int_label' => array('name' => 'int_label', 'type' => 'xsd:string'), |
|
127 | + 'emitter' => array('name' => 'emitter', 'type' => 'xsd:string'), |
|
128 | + 'bank_source' => array('name' => 'bank_source', 'type' => 'xsd:string'), |
|
129 | 129 | ) |
130 | 130 | ); |
131 | 131 | |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | $now = dol_now(); |
166 | 166 | |
167 | 167 | dol_syslog("Function: createPayment login=" . $authentication['login'] . " id=" . $payment->id . |
168 | - ", ref=" . $payment->ref . ", ref_ext=" . $payment->ref_ext); |
|
168 | + ", ref=" . $payment->ref . ", ref_ext=" . $payment->ref_ext); |
|
169 | 169 | |
170 | 170 | if ($authentication['entity']) { |
171 | 171 | $conf->entity = $authentication['entity']; |
@@ -778,7 +778,7 @@ |
||
778 | 778 | <div style="text-align: center"> |
779 | 779 | <input type="submit" name="create" <?php if (!is_array($productCombination2ValuePairs1)) { |
780 | 780 | print ' disabled="disabled"'; |
781 | - } ?> value="<?php echo $action == 'add' ? $langs->trans('Create') : $langs->trans("Save") ?>" class="button button-save"> |
|
781 | + } ?> value="<?php echo $action == 'add' ? $langs->trans('Create') : $langs->trans("Save") ?>" class="button button-save"> |
|
782 | 782 | |
783 | 783 | <input type="submit" name="cancel" value="<?php echo $langs->trans("Cancel"); ?>" class="button button-cancel"> |
784 | 784 | </div> |