Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-06-11 13:03:21 +02:00
parent 6a3547f8af
commit 5bc9e656bf
2 changed files with 2 additions and 4 deletions

View File

@ -418,9 +418,7 @@ if ($id > 0 || $ref)
{ {
//print '<a class="butActionDelete" href="line.php?action=rejet&id='.$obj->rowid.'">'.$langs->trans("StandingOrderReject").'</a>'; //print '<a class="butActionDelete" href="line.php?action=rejet&id='.$obj->rowid.'">'.$langs->trans("StandingOrderReject").'</a>';
print '<a href="line.php?action=rejet&id='.$obj->rowid.'">'.$langs->trans("StandingOrderReject").'</a>'; print '<a href="line.php?action=rejet&id='.$obj->rowid.'">'.$langs->trans("StandingOrderReject").'</a>';
} } else {
else
{
//print '<a class="butActionRefused classfortooltip" href="#" title="'.$langs->trans("NotAllowed").'">'.$langs->trans("StandingOrderReject").'</a>'; //print '<a class="butActionRefused classfortooltip" href="#" title="'.$langs->trans("NotAllowed").'">'.$langs->trans("StandingOrderReject").'</a>';
} }
} }

View File

@ -626,7 +626,7 @@ print '<tr class="liste_titre">';
print '<td class="left" width="200">'; print '<td class="left" width="200">';
$tooltiponprofit = $langs->trans("ProfitIsCalculatedWith")."<br>\n"; $tooltiponprofit = $langs->trans("ProfitIsCalculatedWith")."<br>\n";
$tooltiponprofitplus = $tooltiponprofitminus = ''; $tooltiponprofitplus = $tooltiponprofitminus = '';
foreach($listofreferent as $key => $value) foreach ($listofreferent as $key => $value)
{ {
$name = $langs->trans($value['name']); $name = $langs->trans($value['name']);
$qualified = $value['test']; $qualified = $value['test'];