Fix: Bad balance of td
This commit is contained in:
parent
936adfd0f5
commit
1690da2369
@ -368,6 +368,15 @@ else
|
|||||||
print ' ';
|
print ' ';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print '<td class="liste_titre">';
|
||||||
|
print ' ';
|
||||||
|
print '</td>';
|
||||||
|
print '<td class="liste_titre">';
|
||||||
|
print ' ';
|
||||||
|
print '</td>';
|
||||||
|
}
|
||||||
|
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
print $form->selectarray('tosell', array('0'=>$langs->trans('ProductStatusNotOnSellShort'),'1'=>$langs->trans('ProductStatusOnSellShort')),$tosell,1);
|
print $form->selectarray('tosell', array('0'=>$langs->trans('ProductStatusNotOnSellShort'),'1'=>$langs->trans('ProductStatusOnSellShort')),$tosell,1);
|
||||||
@ -429,7 +438,7 @@ else
|
|||||||
print '<td>'.$objp->barcode.'</td>';
|
print '<td>'.$objp->barcode.'</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Date
|
// Modification Date
|
||||||
print '<td align="center">'.dol_print_date($db->jdate($objp->datem),'day')."</td>\n";
|
print '<td align="center">'.dol_print_date($db->jdate($objp->datem),'day')."</td>\n";
|
||||||
|
|
||||||
// Duration
|
// Duration
|
||||||
@ -454,7 +463,8 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Better buy price
|
// Better buy price
|
||||||
if ($user->rights->produit->creer) {
|
if ($user->rights->produit->creer)
|
||||||
|
{
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
if ($objp->minsellprice != '')
|
if ($objp->minsellprice != '')
|
||||||
{
|
{
|
||||||
@ -489,7 +499,12 @@ else
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td> </td>';
|
print '<td>';
|
||||||
|
print ' ';
|
||||||
|
print '</td>';
|
||||||
|
print '<td>';
|
||||||
|
print ' ';
|
||||||
|
print '</td>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user