@@ -57,7 +57,7 @@ |
||
57 | 57 | $search_date_endday = GETPOSTINT('search_date_endday'); |
58 | 58 | $search_date_endmonth = GETPOSTINT('search_date_endmonth'); |
59 | 59 | $search_date_endyear = GETPOSTINT('search_date_endyear'); |
60 | -$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
60 | +$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
61 | 61 | $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); |
62 | 62 | |
63 | 63 | // Load variable for pagination |
@@ -66,7 +66,7 @@ |
||
66 | 66 | $search_date_endday = GETPOSTINT('search_date_endday'); |
67 | 67 | $search_date_endmonth = GETPOSTINT('search_date_endmonth'); |
68 | 68 | $search_date_endyear = GETPOSTINT('search_date_endyear'); |
69 | -$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
69 | +$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
70 | 70 | $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); |
71 | 71 | |
72 | 72 | // Define begin binding date |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $changeaccount = GETPOST('changeaccount'); |
50 | 50 | // Search Getpost |
51 | 51 | $search_societe = GETPOST('search_societe', 'alpha'); |
52 | -$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100' |
|
52 | +$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100' |
|
53 | 53 | $search_ref = GETPOST('search_ref', 'alpha'); |
54 | 54 | $search_invoice = GETPOST('search_invoice', 'alpha'); |
55 | 55 | //$search_ref_supplier = GETPOST('search_ref_supplier', 'alpha'); |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | $search_date_endday = GETPOSTINT('search_date_endday'); |
65 | 65 | $search_date_endmonth = GETPOSTINT('search_date_endmonth'); |
66 | 66 | $search_date_endyear = GETPOSTINT('search_date_endyear'); |
67 | -$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
67 | +$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
68 | 68 | $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); |
69 | 69 | $search_country = GETPOST('search_country', 'aZ09'); |
70 | 70 | $search_tvaintra = GETPOST('search_tvaintra', 'alpha'); |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $mesCasesCochees = GETPOST('toselect', 'array'); |
59 | 59 | |
60 | 60 | // Search Getpost |
61 | -$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100' |
|
61 | +$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100' |
|
62 | 62 | $search_societe = GETPOST('search_societe', 'alpha'); |
63 | 63 | $search_ref = GETPOST('search_ref', 'alpha'); |
64 | 64 | $search_ref_supplier = GETPOST('search_ref_supplier', 'alpha'); |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $search_date_endday = GETPOSTINT('search_date_endday'); |
75 | 75 | $search_date_endmonth = GETPOSTINT('search_date_endmonth'); |
76 | 76 | $search_date_endyear = GETPOSTINT('search_date_endyear'); |
77 | -$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
77 | +$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver |
|
78 | 78 | $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear); |
79 | 79 | $search_country = GETPOST('search_country', 'aZ09'); |
80 | 80 | $search_tvaintra = GETPOST('search_tvaintra', 'alpha'); |
@@ -585,7 +585,7 @@ discard block |
||
585 | 585 | $thirdpartystatic->email = $objp->email; |
586 | 586 | $thirdpartystatic->country_code = $objp->country_code; |
587 | 587 | $thirdpartystatic->tva_intra = $objp->tva_intra; |
588 | - $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion) |
|
588 | + $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion) |
|
589 | 589 | |
590 | 590 | $product_static->ref = $objp->product_ref; |
591 | 591 | $product_static->id = $objp->product_id; |
@@ -201,7 +201,7 @@ |
||
201 | 201 | $thirdpartystatic->email = $objp->email; |
202 | 202 | $thirdpartystatic->country_code = $objp->country_code; |
203 | 203 | $thirdpartystatic->tva_intra = $objp->tva_intra; |
204 | - $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion) |
|
204 | + $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion) |
|
205 | 205 | |
206 | 206 | $product_static->ref = $objp->product_ref; |
207 | 207 | $product_static->id = $objp->product_id; |
@@ -1140,7 +1140,7 @@ |
||
1140 | 1140 | print '<input type="hidden" name="action" value="addintocategory">'; |
1141 | 1141 | print '<table class="noborder centpercent">'; |
1142 | 1142 | print '<tr class="liste_titre"><td>'; |
1143 | - $force_entity = getEntity($object->element); // So we will get same filter than the getObjectsInCateg() |
|
1143 | + $force_entity = getEntity($object->element); // So we will get same filter than the getObjectsInCateg() |
|
1144 | 1144 | print img_picto('', $type, 'class="pictofixedwidth"'); |
1145 | 1145 | print $form->select_dolusers('', 'elemid', 1, null, 0, '', '', $force_entity); |
1146 | 1146 | print '<input type="submit" class="button buttongen" value="' . $langs->trans("ClassifyInCategory") . '"></td>'; |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /* |
70 | 70 | * Actions |
71 | 71 | */ |
72 | -$parameters = array('id' => $id, 'label' => $label, 'confirm' => $confirm, 'type' => $type, 'uploaddir' => $upload_dir, 'sendfile' => (GETPOST("sendit") ? true : false)); |
|
72 | +$parameters = array('id' => $id, 'label' => $label, 'confirm' => $confirm, 'type' => $type, 'uploaddir' => $upload_dir, 'sendfile' => (GETPOST("sendit") ? true : false)); |
|
73 | 73 | // Note that $action and $object may be modified by some hooks |
74 | 74 | $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); |
75 | 75 | if ($reshook < 0) { |
@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | $type = $object->type; |
61 | 61 | if (is_numeric($type)) { |
62 | - $type = Categorie::$MAP_ID_TO_CODE[$type]; // For backward compatibility |
|
62 | + $type = Categorie::$MAP_ID_TO_CODE[$type]; // For backward compatibility |
|
63 | 63 | } |
64 | 64 | |
65 | 65 |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | function getAttachments($jk, $mbox) |
120 | 120 | { |
121 | - $structure = imap_fetchstructure($mbox, $jk, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
121 | + $structure = imap_fetchstructure($mbox, $jk, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
122 | 122 | $parts = getParts($structure); |
123 | 123 | |
124 | 124 | $fpos = 2; |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | */ |
156 | 156 | function getFileData($jk, $fpos, $type, $mbox) |
157 | 157 | { |
158 | - $merge = imap_fetchbody($mbox, $jk, $fpos, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
158 | + $merge = imap_fetchbody($mbox, $jk, $fpos, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
159 | 159 | $data = getDecodeValue($merge, $type); |
160 | 160 | |
161 | 161 | return $data; |