Completed
Branch develop (d82f9f)
by
unknown
23:10
created
htdocs/accountancy/customer/list.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
 // Search Getpost
68 68
 $search_societe = GETPOST('search_societe', 'alpha');
69
-$search_lineid = GETPOST('search_lineid', 'alpha');		// Can be '> 100'
69
+$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100'
70 70
 $search_ref = GETPOST('search_ref', 'alpha');
71 71
 $search_invoice = GETPOST('search_invoice', 'alpha');
72 72
 $search_label = GETPOST('search_label', 'alpha');
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 $search_date_endday = GETPOSTINT('search_date_endday');
81 81
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
82 82
 $search_date_endyear = GETPOSTINT('search_date_endyear');
83
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);	// Use tzserver
83
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
84 84
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
85 85
 $search_country = GETPOST('search_country', 'aZ09');
86 86
 $search_tvaintra = GETPOST('search_tvaintra', 'alpha');
@@ -132,18 +132,18 @@  discard block
 block discarded – undo
132 132
 }
133 133
 
134 134
 $arrayfields = array(
135
-	'l.rowid'               => array('label' => "LineId",                           'position' => 1, 'checked' => '1', 'enabled' => '1'),
136
-	'f.ref'                 => array('label' => "Invoice",                          'position' => 1, 'checked' => '1', 'enabled' => '1'),
137
-	'f.datef'               => array('label' => "Date",                             'position' => 1, 'checked' => '1', 'enabled' => '1'), // f.datef, f.ref, l.rowid
138
-	'p.ref'                 => array('label' => "ProductRef",                       'position' => 1, 'checked' => '1', 'enabled' => '1'),
139
-	'l.description'         => array('label' => "ProductDescription",       		'position' => 1, 'checked' => '-1', 'enabled' => '1'),
140
-	'l.total_ht'            => array('label' => "Amount",                           'position' => 1, 'checked' => '1', 'enabled' => '1'),
141
-	'l.tva_tx'              => array('label' => "VATRate",                          'position' => 1, 'checked' => '1', 'enabled' => '1'),
142
-	's.nom'                 => array('label' => "ThirdParty",                       'position' => 1, 'checked' => '1', 'enabled' => '1'),
143
-	'co.label'              => array('label' => "Country",                          'position' => 1, 'checked' => '1', 'enabled' => '1'),
144
-	's.tva_intra'           => array('label' => "VATIntraShort",                    'position' => 1, 'checked' => '1', 'enabled' => '1'),
145
-	'aa.data_suggest'       => array('label' => "DataUsedToSuggestAccount",         'position' => 1, 'checked' => '1', 'enabled' => '1'), // Seems not used in search.
146
-	'aa.account_number'     => array('label' => "AccountAccountingSuggest",         'position' => 1, 'checked' => '1', 'enabled' => '1'),
135
+	'l.rowid'               => array('label' => "LineId", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
136
+	'f.ref'                 => array('label' => "Invoice", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
137
+	'f.datef'               => array('label' => "Date", 'position' => 1, 'checked' => '1', 'enabled' => '1'), // f.datef, f.ref, l.rowid
138
+	'p.ref'                 => array('label' => "ProductRef", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
139
+	'l.description'         => array('label' => "ProductDescription", 'position' => 1, 'checked' => '-1', 'enabled' => '1'),
140
+	'l.total_ht'            => array('label' => "Amount", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
141
+	'l.tva_tx'              => array('label' => "VATRate", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
142
+	's.nom'                 => array('label' => "ThirdParty", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
143
+	'co.label'              => array('label' => "Country", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
144
+	's.tva_intra'           => array('label' => "VATIntraShort", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
145
+	'aa.data_suggest'       => array('label' => "DataUsedToSuggestAccount", 'position' => 1, 'checked' => '1', 'enabled' => '1'), // Seems not used in search.
146
+	'aa.account_number'     => array('label' => "AccountAccountingSuggest", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
147 147
 );
148 148
 // @phpstan-ignore-next-line
149 149
 $arrayfields = dol_sort_array($arrayfields, 'position');
@@ -303,20 +303,20 @@  discard block
 block discarded – undo
303 303
 $sql .= " FROM ".MAIN_DB_PREFIX."facture as f";
304 304
 $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc";
305 305
 if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) {
306
-	$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity);
306
+	$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = ".((int) $conf->entity);
307 307
 }
308 308
 $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as co ON co.rowid = s.fk_pays ";
309 309
 $sql .= " INNER JOIN ".MAIN_DB_PREFIX."facturedet as l ON f.rowid = l.fk_facture";
310 310
 $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product";
311 311
 if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) {
312
-	$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity);
312
+	$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = ".((int) $conf->entity);
313 313
 }
314 314
 $alias_societe_perentity = !getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED') ? "s" : "spe";
315 315
 $alias_product_perentity = !getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p" : "ppe";
316
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa  ON " . $alias_product_perentity . ".accountancy_code_sell = aa.account_number         AND aa.active = 1  AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity;
317
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa2 ON " . $alias_product_perentity . ".accountancy_code_sell_intra = aa2.account_number  AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity;
318
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa3 ON " . $alias_product_perentity . ".accountancy_code_sell_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity;
319
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa4 ON " . $alias_societe_perentity . ".accountancy_code_sell = aa4.account_number        AND aa4.active = 1 AND aa4.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa4.entity = ".$conf->entity;
316
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa  ON ".$alias_product_perentity.".accountancy_code_sell = aa.account_number         AND aa.active = 1  AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity;
317
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa2 ON ".$alias_product_perentity.".accountancy_code_sell_intra = aa2.account_number  AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity;
318
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa3 ON ".$alias_product_perentity.".accountancy_code_sell_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity;
319
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa4 ON ".$alias_societe_perentity.".accountancy_code_sell = aa4.account_number        AND aa4.active = 1 AND aa4.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa4.entity = ".$conf->entity;
320 320
 // Add table from hooks
321 321
 $parameters = array();
322 322
 $reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
 	$moreforfilter = '';
527 527
 
528 528
 	$varpage = $contextpage;
529
-	$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, $conf->main_checkbox_left_column);  // This also change content of $arrayfields with user setup
529
+	$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, $conf->main_checkbox_left_column); // This also change content of $arrayfields with user setup
530 530
 	$selectedfields = $htmlofselectarray;
531 531
 	$selectedfields .= $form->showCheckAddButtons('checkforselect', 1);
532 532
 
@@ -718,7 +718,7 @@  discard block
 block discarded – undo
718 718
 
719 719
 
720 720
 	$accountingaccount_codetotid_cache = array();
721
-	$suggestedaccountingaccountfor = '';  // Initialise (for static analysis)
721
+	$suggestedaccountingaccountfor = ''; // Initialise (for static analysis)
722 722
 	$suggestedaccountingaccountbydefaultfor = '';
723 723
 
724 724
 	while ($i < min($num_lines, $limit)) {
@@ -736,14 +736,14 @@  discard block
 block discarded – undo
736 736
 		$thirdpartystatic->client = $objp->client;
737 737
 		$thirdpartystatic->fournisseur = $objp->fournisseur;
738 738
 		$thirdpartystatic->code_client = $objp->code_client;
739
-		$thirdpartystatic->code_compta = $objp->code_compta_client;		// For backward compatibility
739
+		$thirdpartystatic->code_compta = $objp->code_compta_client; // For backward compatibility
740 740
 		$thirdpartystatic->code_compta_client = $objp->code_compta_client;
741 741
 		$thirdpartystatic->code_fournisseur = $objp->code_fournisseur;
742 742
 		$thirdpartystatic->code_compta_fournisseur = $objp->code_compta_fournisseur;
743 743
 		$thirdpartystatic->email = $objp->email;
744 744
 		$thirdpartystatic->country_code = $objp->country_code;
745 745
 		$thirdpartystatic->tva_intra = $objp->tva_intra;
746
-		$thirdpartystatic->code_compta_product = $objp->company_code_sell;		// The accounting account for product stored on thirdparty object (for level3 suggestion)
746
+		$thirdpartystatic->code_compta_product = $objp->company_code_sell; // The accounting account for product stored on thirdparty object (for level3 suggestion)
747 747
 
748 748
 		$product_static->ref = $objp->product_ref;
749 749
 		$product_static->id = $objp->product_id;
Please login to merge, or discard this patch.
htdocs/accountancy/supplier/list.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 $mesCasesCochees = GETPOST('toselect', 'array');
67 67
 
68 68
 // Search Getpost
69
-$search_lineid = GETPOST('search_lineid', 'alpha');		// Can be '> 100'
69
+$search_lineid = GETPOST('search_lineid', 'alpha'); // Can be '> 100'
70 70
 $search_societe = GETPOST('search_societe', 'alpha');
71 71
 $search_ref = GETPOST('search_ref', 'alpha');
72 72
 $search_ref_supplier = GETPOST('search_ref_supplier', 'alpha');
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 $search_date_endday = GETPOSTINT('search_date_endday');
83 83
 $search_date_endmonth = GETPOSTINT('search_date_endmonth');
84 84
 $search_date_endyear = GETPOSTINT('search_date_endyear');
85
-$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear);	// Use tzserver
85
+$search_date_start = dol_mktime(0, 0, 0, $search_date_startmonth, $search_date_startday, $search_date_startyear); // Use tzserver
86 86
 $search_date_end = dol_mktime(23, 59, 59, $search_date_endmonth, $search_date_endday, $search_date_endyear);
87 87
 $search_country = GETPOST('search_country', 'aZ09');
88 88
 $search_tvaintra = GETPOST('search_tvaintra', 'alpha');
@@ -129,19 +129,19 @@  discard block
 block discarded – undo
129 129
 }
130 130
 
131 131
 $arrayfields = array(
132
-	'l.rowid'               => array('label' => "LineId",                           'position' => 1, 'checked' => '1', 'enabled' => '1'),
133
-	'f.ref'                 => array('label' => "Invoice",                          'position' => 1, 'checked' => '1', 'enabled' => '1'),
134
-	'f.libelle'             => array('label' => "InvoiceLabel",                     'position' => 1, 'checked' => '-1', 'enabled' => '1'),
135
-	'f.datef'               => array('label' => "Date",                             'position' => 1, 'checked' => '1', 'enabled' => '1'), // f.datef, f.ref, l.rowid
136
-	'p.ref'                 => array('label' => "ProductRef",                       'position' => 1, 'checked' => '1', 'enabled' => '1'),
137
-	'l.description'         => array('label' => "ProductDescription",       		'position' => 1, 'checked' => '-1', 'enabled' => '1'),
138
-	'l.total_ht'            => array('label' => "Amount",                           'position' => 1, 'checked' => '1', 'enabled' => '1'),
139
-	'l.tva_tx'              => array('label' => "VATRate",                          'position' => 1, 'checked' => '1', 'enabled' => '1'),
140
-	's.nom'                 => array('label' => "ThirdParty",                       'position' => 1, 'checked' => '1', 'enabled' => '1'),
141
-	'co.label'              => array('label' => "Country",                          'position' => 1, 'checked' => '1', 'enabled' => '1'),
142
-	's.tva_intra'           => array('label' => "VATIntraShort",                    'position' => 1, 'checked' => '1', 'enabled' => '1'),
143
-	'aa.data_suggest'       => array('label' => "DataUsedToSuggestAccount",         'position' => 1, 'checked' => '1', 'enabled' => '1'), // Seems not used in search.
144
-	'aa.account_number'     => array('label' => "AccountAccountingSuggest",         'position' => 1, 'checked' => '1', 'enabled' => '1'),
132
+	'l.rowid'               => array('label' => "LineId", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
133
+	'f.ref'                 => array('label' => "Invoice", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
134
+	'f.libelle'             => array('label' => "InvoiceLabel", 'position' => 1, 'checked' => '-1', 'enabled' => '1'),
135
+	'f.datef'               => array('label' => "Date", 'position' => 1, 'checked' => '1', 'enabled' => '1'), // f.datef, f.ref, l.rowid
136
+	'p.ref'                 => array('label' => "ProductRef", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
137
+	'l.description'         => array('label' => "ProductDescription", 'position' => 1, 'checked' => '-1', 'enabled' => '1'),
138
+	'l.total_ht'            => array('label' => "Amount", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
139
+	'l.tva_tx'              => array('label' => "VATRate", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
140
+	's.nom'                 => array('label' => "ThirdParty", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
141
+	'co.label'              => array('label' => "Country", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
142
+	's.tva_intra'           => array('label' => "VATIntraShort", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
143
+	'aa.data_suggest'       => array('label' => "DataUsedToSuggestAccount", 'position' => 1, 'checked' => '1', 'enabled' => '1'), // Seems not used in search.
144
+	'aa.account_number'     => array('label' => "AccountAccountingSuggest", 'position' => 1, 'checked' => '1', 'enabled' => '1'),
145 145
 );
146 146
 // @phpstan-ignore-next-line
147 147
 $arrayfields = dol_sort_array($arrayfields, 'position');
@@ -308,20 +308,20 @@  discard block
 block discarded – undo
308 308
 $sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn as f";
309 309
 $sql .= " INNER JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = f.fk_soc";
310 310
 if (getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED')) {
311
-	$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = " . ((int) $conf->entity);
311
+	$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe_perentity as spe ON spe.fk_soc = s.rowid AND spe.entity = ".((int) $conf->entity);
312 312
 }
313 313
 $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_country as co ON co.rowid = s.fk_pays ";
314 314
 $sql .= " INNER JOIN ".MAIN_DB_PREFIX."facture_fourn_det as l ON f.rowid = l.fk_facture_fourn";
315 315
 $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product";
316 316
 if (getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) {
317
-	$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = " . ((int) $conf->entity);
317
+	$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."product_perentity as ppe ON ppe.fk_product = p.rowid AND ppe.entity = ".((int) $conf->entity);
318 318
 }
319 319
 $alias_societe_perentity = !getDolGlobalString('MAIN_COMPANY_PERENTITY_SHARED') ? "s" : "spe";
320 320
 $alias_product_perentity = !getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED') ? "p" : "ppe";
321
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa  ON " . $alias_product_perentity . ".accountancy_code_buy = aa.account_number         AND aa.active = 1  AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity;
322
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa2 ON " . $alias_product_perentity . ".accountancy_code_buy_intra = aa2.account_number  AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity;
323
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa3 ON " . $alias_product_perentity . ".accountancy_code_buy_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity;
324
-$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa4 ON " . $alias_societe_perentity . ".accountancy_code_buy = aa4.account_number        AND aa4.active = 1 AND aa4.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa4.entity = ".$conf->entity;
321
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa  ON ".$alias_product_perentity.".accountancy_code_buy = aa.account_number         AND aa.active = 1  AND aa.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa.entity = ".$conf->entity;
322
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa2 ON ".$alias_product_perentity.".accountancy_code_buy_intra = aa2.account_number  AND aa2.active = 1 AND aa2.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa2.entity = ".$conf->entity;
323
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa3 ON ".$alias_product_perentity.".accountancy_code_buy_export = aa3.account_number AND aa3.active = 1 AND aa3.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa3.entity = ".$conf->entity;
324
+$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."accounting_account as aa4 ON ".$alias_societe_perentity.".accountancy_code_buy = aa4.account_number        AND aa4.active = 1 AND aa4.fk_pcg_version = '".$db->escape($chartaccountcode)."' AND aa4.entity = ".$conf->entity;
325 325
 // Add table from hooks
326 326
 $parameters = array();
327 327
 $reshook = $hookmanager->executeHooks('printFieldListFrom', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
@@ -537,7 +537,7 @@  discard block
 block discarded – undo
537 537
 	$moreforfilter = '';
538 538
 
539 539
 	$varpage = $contextpage;
540
-	$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, $conf->main_checkbox_left_column);  // This also change content of $arrayfields with user setup
540
+	$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, $conf->main_checkbox_left_column); // This also change content of $arrayfields with user setup
541 541
 	$selectedfields = $htmlofselectarray;
542 542
 	$selectedfields .= $form->showCheckAddButtons('checkforselect', 1);
543 543
 
@@ -762,7 +762,7 @@  discard block
 block discarded – undo
762 762
 		$thirdpartystatic->email = $objp->email;
763 763
 		$thirdpartystatic->country_code = $objp->country_code;
764 764
 		$thirdpartystatic->tva_intra = $objp->tva_intra;
765
-		$thirdpartystatic->code_compta_product = $objp->company_code_buy;		// The accounting account for product stored on thirdparty object (for level3 suggestion)
765
+		$thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion)
766 766
 
767 767
 		$product_static->ref = $objp->product_ref;
768 768
 		$product_static->id = $objp->product_id;
@@ -840,7 +840,7 @@  discard block
 block discarded – undo
840 840
 		if ($conf->main_checkbox_left_column) {
841 841
 			print '<td class="nowrap center actioncolumn">';
842 842
 			$selected = in_array($objp->rowid."_".$i, $toselect);
843
-			print '<input type="checkbox" class="flat checkforselect checkforselect'.$facturefourn_static_det->id.'" name="toselect[]" value="'.$facturefourn_static_det->id."_".$i.'"'.($selected ? " checked" : "").'/>';            print '</td>';
843
+			print '<input type="checkbox" class="flat checkforselect checkforselect'.$facturefourn_static_det->id.'" name="toselect[]" value="'.$facturefourn_static_det->id."_".$i.'"'.($selected ? " checked" : "").'/>'; print '</td>';
844 844
 			if (!$i) {
845 845
 				$totalarray['nbfield']++;
846 846
 			}
Please login to merge, or discard this patch.