@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $search_date_endday = GETPOSTINT('search_date_endday'); |
| 70 | 70 | $search_date_endmonth = GETPOSTINT('search_date_endmonth'); |
| 71 | 71 | $search_date_endyear = GETPOSTINT('search_date_endyear'); |
| 72 | -$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
| 72 | +$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
| 73 | 73 | $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); |
| 74 | 74 | $search_date_limit_startday = GETPOSTINT('search_date_limit_startday'); |
| 75 | 75 | $search_date_limit_startmonth = GETPOSTINT('search_date_limit_startmonth'); |
@@ -661,8 +661,8 @@ discard block |
||
| 661 | 661 | $chargesociale_static->type_label = $obj->type_label; |
| 662 | 662 | $chargesociale_static->amount = $obj->amount; |
| 663 | 663 | $chargesociale_static->paye = $obj->paye; |
| 664 | - $chargesociale_static->date_ech = $db->idate($obj->date_ech); // Date of contribution |
|
| 665 | - $chargesociale_static->period = $db->idate($obj->period, 'gmt'); // End date of period |
|
| 664 | + $chargesociale_static->date_ech = $db->idate($obj->date_ech); // Date of contribution |
|
| 665 | + $chargesociale_static->period = $db->idate($obj->period, 'gmt'); // End date of period |
|
| 666 | 666 | $chargesociale_static->type_accountancy_code = $obj->type_accountancy_code; |
| 667 | 667 | |
| 668 | 668 | if (isModEnabled('project')) { |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | |
| 153 | 153 | $invoicestatic->id = $obj->rowid; |
| 154 | 154 | $invoicestatic->ref = $obj->ref; |
| 155 | - $invoicestatic->statut = $obj->status; // deprecated |
|
| 155 | + $invoicestatic->statut = $obj->status; // deprecated |
|
| 156 | 156 | $invoicestatic->status = $obj->status; |
| 157 | 157 | $invoicestatic->paye = $obj->paye; |
| 158 | 158 | $invoicestatic->paid = $obj->paye; |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | |
| 109 | 109 | $permissiontoread = ($user->hasRight('ecm', 'read') || $user->hasRight('mailing', 'lire') || $user->hasRight('website', 'read')); |
| 110 | 110 | $permissiontouploadfile = ($user->hasRight('ecm', 'setup') || $user->hasRight('mailing', 'creer') || $user->hasRight('website', 'write')); |
| 111 | -$permissiontoadd = $permissiontouploadfile; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles |
|
| 111 | +$permissiontoadd = $permissiontouploadfile; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles |
|
| 112 | 112 | |
| 113 | 113 | |
| 114 | 114 | $diroutput = $conf->medias->multidir_output[$conf->entity]; |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | if ($sortorder) { |
| 133 | 133 | $backtopage .= '&sortorder='.urlencode($sortorder); |
| 134 | 134 | } |
| 135 | -include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; // This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file. |
|
| 135 | +include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; // This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file. |
|
| 136 | 136 | |
| 137 | 137 | $backtopage = $savbacktopage; |
| 138 | 138 | |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | $moreheadcss = ''; |
| 301 | 301 | $moreheadjs = ''; |
| 302 | 302 | |
| 303 | -$morejs=array(); |
|
| 303 | +$morejs = array(); |
|
| 304 | 304 | if (!getDolGlobalString('MAIN_ECM_DISABLE_JS')) { |
| 305 | 305 | $morejs[] = "includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js"; |
| 306 | 306 | } |
@@ -329,7 +329,7 @@ |
||
| 329 | 329 | //print $_SESSION["dol_screenheight"]; |
| 330 | 330 | $maxheightwin = (isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466) ? ($_SESSION["dol_screenheight"] - 136) : 660; // Also into index_auto.php file |
| 331 | 331 | |
| 332 | -$morejs=array(); |
|
| 332 | +$morejs = array(); |
|
| 333 | 333 | if (!getDolGlobalString('MAIN_ECM_DISABLE_JS')) { |
| 334 | 334 | $morejs[] = "includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js"; |
| 335 | 335 | } |
@@ -301,7 +301,7 @@ discard block |
||
| 301 | 301 | $moreheadcss = ''; |
| 302 | 302 | $moreheadjs = ''; |
| 303 | 303 | |
| 304 | -$morejs=array(); |
|
| 304 | +$morejs = array(); |
|
| 305 | 305 | if (!getDolGlobalString('MAIN_ECM_DISABLE_JS')) { |
| 306 | 306 | $morejs[] = "includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js"; |
| 307 | 307 | } |
@@ -493,7 +493,7 @@ discard block |
||
| 493 | 493 | if ($user->socid > 0) { |
| 494 | 494 | // Check if dir is allowed to external users |
| 495 | 495 | //var_dump($conf->global->MAIN_MODULES_FOR_EXTERNAL); |
| 496 | - if (! in_array($val['module'], $arrayofmodulesforexternalusers)) { |
|
| 496 | + if (!in_array($val['module'], $arrayofmodulesforexternalusers)) { |
|
| 497 | 497 | // Discard this entry |
| 498 | 498 | continue; |
| 499 | 499 | } |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | |
| 151 | 151 | |
| 152 | 152 | // To start/stop Block UI |
| 153 | -function dolBlockUI(message = 'Loading...', indicatorUrl = '<?php echo DOL_URL_ROOT."/theme/".$conf->theme."/img/working.gif" ; ?>') { |
|
| 153 | +function dolBlockUI(message = 'Loading...', indicatorUrl = '<?php echo DOL_URL_ROOT."/theme/".$conf->theme."/img/working.gif"; ?>') { |
|
| 154 | 154 | const block = document.getElementById('dol-block-ui'); |
| 155 | 155 | if (block != null) { |
| 156 | 156 | const msgDiv = block.querySelector('.message'); |