Fix phpcs
This commit is contained in:
parent
51de29458f
commit
c44d9bf8e2
@ -1368,7 +1368,7 @@ if ($action == 'create')
|
|||||||
print '<tr class="oddeven"><td colspan="3"></td><td align="center">';
|
print '<tr class="oddeven"><td colspan="3"></td><td align="center">';
|
||||||
print '<input name="qtyl'.$indiceAsked.'_'.$subj.'" id="qtyl'.$indiceAsked.'_'.$subj.'" type="text" size="4" value="0" disabled="disabled"> ';
|
print '<input name="qtyl'.$indiceAsked.'_'.$subj.'" id="qtyl'.$indiceAsked.'_'.$subj.'" type="text" size="4" value="0" disabled="disabled"> ';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
print '<td align="left">';
|
print '<td align="left">';
|
||||||
print img_warning().' '.$langs->trans("NoProductToShipFoundIntoStock", $staticwarehouse->libelle);
|
print img_warning().' '.$langs->trans("NoProductToShipFoundIntoStock", $staticwarehouse->libelle);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
@ -1424,7 +1424,6 @@ if ($action == 'create')
|
|||||||
|
|
||||||
print '<!-- Show details of stock -->';
|
print '<!-- Show details of stock -->';
|
||||||
print '('.$stock.')';
|
print '('.$stock.')';
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1525,7 +1524,6 @@ if ($action == 'create')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if ($subj == 0) // Line not shown yet, we show it
|
if ($subj == 0) // Line not shown yet, we show it
|
||||||
{
|
{
|
||||||
|
|||||||
@ -608,7 +608,7 @@ else
|
|||||||
$reshook = $hookmanager->executeHooks('printObjectLine', $parameters, $object, $action);
|
$reshook = $hookmanager->executeHooks('printObjectLine', $parameters, $object, $action);
|
||||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
|
|
||||||
if (empty($reshook))
|
if (empty($reshook))
|
||||||
{
|
{
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
if ($object->lines[$i]->fk_product > 0)
|
if ($object->lines[$i]->fk_product > 0)
|
||||||
@ -635,7 +635,7 @@ else
|
|||||||
{
|
{
|
||||||
$label = (!empty($object->lines[$i]->label) ? $object->lines[$i]->label : $object->lines[$i]->product_label);
|
$label = (!empty($object->lines[$i]->label) ? $object->lines[$i]->label : $object->lines[$i]->product_label);
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|
||||||
// Affiche ligne produit
|
// Affiche ligne produit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user