Debug v16

This commit is contained in:
Laurent Destailleur 2022-08-10 14:45:21 +02:00
parent ec042b1701
commit a0f5c69ccd
3 changed files with 9 additions and 7 deletions

View File

@ -229,6 +229,7 @@ if ($mode && $mode != '-1') {
}
}
$tmpproduct->id = $prodid;
$tmpproduct->ref = $vals['ref'];
$tmpproduct->label = $vals['label'];
$tmpproduct->type = $vals['type'];

View File

@ -623,7 +623,7 @@ if (empty($reshook)) {
}
print '<div class="inline-block valignmiddle">';
print '<input type="submit" class="button small" name="valid" value="'.$langs->trans('ToFilter').'">';
print '<input type="submit" class="button smallpaddingimp" name="valid" value="'.$langs->trans('ToFilter').'">';
print '</div>';
print '</form>';
@ -697,7 +697,7 @@ $texte = $langs->trans('Replenishment');
print '<br>';
print '<div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
print '<div class="div-table-responsive-no-min">';
if (!empty($conf->global->REPLENISH_ALLOW_VARIABLESIZELIST)) {
print_barre_liste(
@ -894,7 +894,8 @@ while ($i < ($limit ? min($num, $limit) : $num)) {
print '<td class="nowrap">'.$prod->getNomUrl(1, 'stock').'</td>';
print '<td>'.$objp->label;
print '<td class="tdoverflowmax200" title="'.dol_escape_htmltag($objp->label).'">';
print dol_escape_htmltag($objp->label);
print '<input type="hidden" name="desc'.$i.'" value="'.dol_escape_htmltag($objp->description).'">'; // TODO Remove this and make a fetch to get description when creating order instead of a GETPOST
print '</td>';

View File

@ -217,13 +217,13 @@ if ($resql) {
print '<tr class="liste_titre_filter">';
print '<td class="liste_titre">';
print '<input type="text" class="flat" name="search_ref" value="'.dol_escape_htmltag($sref).'">';
print '<input type="text" class="flat maxwidth100" name="search_ref" value="'.dol_escape_htmltag($sref).'">';
print '</td>';
print '<td class="liste_titre">';
print '<input type="text" class="flat" name="search_nom" value="'.dol_escape_htmltag($snom).'">';
print '<input type="text" class="flat maxwidth100" name="search_nom" value="'.dol_escape_htmltag($snom).'">';
print '</td>';
print '<td class="liste_titre">';
print '<input type="text" class="flat" name="search_user" value="'.dol_escape_htmltag($suser).'">';
print '<input type="text" class="flat maxwidth100" name="search_user" value="'.dol_escape_htmltag($suser).'">';
print '</td>';
print '<td class="liste_titre right">';
print '<input type="text" class="flat width75" name="search_ttc" value="'.dol_escape_htmltag($sttc).'">';
@ -322,7 +322,7 @@ if ($resql) {
// Company
$href = DOL_URL_ROOT.'/fourn/card.php?socid='.$obj->socid;
print '<td><a href="'.$href.'">'.img_object($langs->trans('ShowCompany'), 'company').' '.$obj->name.'</a></td>';
print '<td class="tdoverflowmax150" title="'.dol_escape_htmltag($obj->name).'"><a href="'.$href.'">'.img_object($langs->trans('ShowCompany'), 'company').' '.$obj->name.'</a></td>';
// Author
$userstatic->id = $obj->fk_user_author;