diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php index ee52952bbc3..2a370e5c04a 100644 --- a/htdocs/expedition/shipment.php +++ b/htdocs/expedition/shipment.php @@ -600,7 +600,7 @@ if ($id > 0 || !empty($ref)) { $sql = "SELECT cd.rowid, cd.fk_product, cd.product_type as type, cd.label, cd.description,"; $sql .= " cd.price, cd.tva_tx, cd.subprice,"; - $sql .= " cd.qty, cd.fk_unit,"; + $sql .= " cd.qty, cd.fk_unit, cd.rang,"; $sql .= ' cd.date_start,'; $sql .= ' cd.date_end,'; $sql .= ' cd.special_code,'; @@ -623,6 +623,9 @@ if ($id > 0 || !empty($ref)) { $i = 0; print ''; print ''; + if (getDolGlobalString('MAIN_VIEW_LINE_NUMBER')) { + print ''.$langs->trans("Rank").''; + } print ''.$langs->trans("Description").''; print ''.$langs->trans("QtyOrdered").''; print ''.$langs->trans("QtyShipped").''; @@ -661,6 +664,11 @@ if ($id > 0 || !empty($ref)) { print ''; + // Rank + if (getDolGlobalString('MAIN_VIEW_LINE_NUMBER')) { + print ''.$objp->rang.''; + } + // Product label if ($objp->fk_product > 0) { // Define output language