Fixing style errors.
This commit is contained in:
parent
3681cd7747
commit
23ae3af247
@ -220,7 +220,6 @@ if (empty($reshook)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
@ -922,7 +921,7 @@ if ($object->id > 0) {
|
|||||||
print '<td class="right">';
|
print '<td class="right">';
|
||||||
print $form->textwithpicto($langs->trans("RealQty"), $langs->trans("InventoryRealQtyHelp"));
|
print $form->textwithpicto($langs->trans("RealQty"), $langs->trans("InventoryRealQtyHelp"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
if ($object->status == $object::STATUS_DRAFT || $object->status == $object::STATUS_VALIDATED) {
|
if ($object->status == $object::STATUS_DRAFT || $object->status == $object::STATUS_VALIDATED) {
|
||||||
// Actions or link to stock movement
|
// Actions or link to stock movement
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
@ -1025,12 +1024,12 @@ if ($object->id > 0) {
|
|||||||
if (!empty($conf->productbatch->enabled)) {
|
if (!empty($conf->productbatch->enabled)) {
|
||||||
print '<td id="id_'.$obj->rowid.'_batch" data-batch="'.dol_escape_htmltag($obj->batch).'">';
|
print '<td id="id_'.$obj->rowid.'_batch" data-batch="'.dol_escape_htmltag($obj->batch).'">';
|
||||||
$batch_static = new Productlot($db);
|
$batch_static = new Productlot($db);
|
||||||
$res = $batch_static->fetch(0, $product_static->id, $obj->batch);
|
$res = $batch_static->fetch(0, $product_static->id, $obj->batch);
|
||||||
if($res){
|
if ($res) {
|
||||||
print $batch_static->getNomUrl(1);
|
print $batch_static->getNomUrl(1);
|
||||||
} else {
|
} else {
|
||||||
print dol_escape_htmltag($obj->batch);
|
print dol_escape_htmltag($obj->batch);
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1100,7 +1099,7 @@ if ($object->id > 0) {
|
|||||||
print '</a>';
|
print '</a>';
|
||||||
print '<input type="text" class="maxwidth50 right realqty" name="id_'.$obj->rowid.'" id="id_'.$obj->rowid.'_input" value="'.$qty_view.'">';
|
print '<input type="text" class="maxwidth50 right realqty" name="id_'.$obj->rowid.'" id="id_'.$obj->rowid.'_input" value="'.$qty_view.'">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Picto delete line
|
// Picto delete line
|
||||||
print '<td class="right">';
|
print '<td class="right">';
|
||||||
@ -1143,7 +1142,7 @@ if ($object->id > 0) {
|
|||||||
print '<td class="right nowraponall">';
|
print '<td class="right nowraponall">';
|
||||||
print $obj->qty_view; // qty found
|
print $obj->qty_view; // qty found
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
if ($obj->fk_movement > 0) {
|
if ($obj->fk_movement > 0) {
|
||||||
$stockmovment = new MouvementStock($db);
|
$stockmovment = new MouvementStock($db);
|
||||||
$stockmovment->fetch($obj->fk_movement);
|
$stockmovment->fetch($obj->fk_movement);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user