Debug v16
This commit is contained in:
parent
ec042b1701
commit
a0f5c69ccd
@ -229,6 +229,7 @@ if ($mode && $mode != '-1') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$tmpproduct->id = $prodid;
|
||||||
$tmpproduct->ref = $vals['ref'];
|
$tmpproduct->ref = $vals['ref'];
|
||||||
$tmpproduct->label = $vals['label'];
|
$tmpproduct->label = $vals['label'];
|
||||||
$tmpproduct->type = $vals['type'];
|
$tmpproduct->type = $vals['type'];
|
||||||
|
|||||||
@ -623,7 +623,7 @@ if (empty($reshook)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print '<div class="inline-block valignmiddle">';
|
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 '</div>';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
@ -697,7 +697,7 @@ $texte = $langs->trans('Replenishment');
|
|||||||
|
|
||||||
print '<br>';
|
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)) {
|
if (!empty($conf->global->REPLENISH_ALLOW_VARIABLESIZELIST)) {
|
||||||
print_barre_liste(
|
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 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 '<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>';
|
print '</td>';
|
||||||
|
|
||||||
|
|||||||
@ -217,13 +217,13 @@ if ($resql) {
|
|||||||
|
|
||||||
print '<tr class="liste_titre_filter">';
|
print '<tr class="liste_titre_filter">';
|
||||||
print '<td class="liste_titre">';
|
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>';
|
||||||
print '<td class="liste_titre">';
|
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>';
|
||||||
print '<td class="liste_titre">';
|
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>';
|
||||||
print '<td class="liste_titre right">';
|
print '<td class="liste_titre right">';
|
||||||
print '<input type="text" class="flat width75" name="search_ttc" value="'.dol_escape_htmltag($sttc).'">';
|
print '<input type="text" class="flat width75" name="search_ttc" value="'.dol_escape_htmltag($sttc).'">';
|
||||||
@ -322,7 +322,7 @@ if ($resql) {
|
|||||||
|
|
||||||
// Company
|
// Company
|
||||||
$href = DOL_URL_ROOT.'/fourn/card.php?socid='.$obj->socid;
|
$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
|
// Author
|
||||||
$userstatic->id = $obj->fk_user_author;
|
$userstatic->id = $obj->fk_user_author;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user