Update shipment.php
This commit is contained in:
parent
4208964153
commit
cb84eef6dc
@ -768,7 +768,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
}
|
||||
|
||||
// Qty ordered
|
||||
print '<td class="center">'.$objp->qty.' '.$objp->unit_order.'</td>';
|
||||
print '<td class="center">'.$objp->qty.($objp->unit_order ? ' '.$objp->unit_order : '').'</td>';
|
||||
|
||||
// Qty already shipped
|
||||
$qtyProdCom = $objp->qty;
|
||||
@ -776,7 +776,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
// Nb of sending products for this line of order
|
||||
$qtyAlreadyShipped = (!empty($object->expeditions[$objp->rowid]) ? $object->expeditions[$objp->rowid] : 0);
|
||||
print $qtyAlreadyShipped;
|
||||
print ' '.$objp->unit_order.'</td>';
|
||||
print ($objp->unit_order ? ' '.$objp->unit_order : '').'</td>';
|
||||
|
||||
// Qty remains to ship
|
||||
print '<td class="center">';
|
||||
@ -787,7 +787,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
} else {
|
||||
print '0 ('.$langs->trans("Service").')';
|
||||
}
|
||||
print ' '.$objp->unit_order.'</td>';
|
||||
print ($objp->unit_order ? ' '.$objp->unit_order : '').'</td>';
|
||||
|
||||
if ($objp->fk_product > 0) {
|
||||
$product = new Product($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user