diff --git a/htdocs/reception/card.php b/htdocs/reception/card.php
index 00b7445cfd3..60bcde11055 100644
--- a/htdocs/reception/card.php
+++ b/htdocs/reception/card.php
@@ -1650,6 +1650,7 @@ if ($action == 'create') {
print '
';
print '
';
+ print '';
print '';
// #
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) {
@@ -1714,6 +1715,7 @@ if ($action == 'create') {
print ' | ';
}
print "
\n";
+ print '';
$var = false;
@@ -1779,9 +1781,10 @@ if ($action == 'create') {
$arrayofpurchaselinealreadyoutput = array();
// Loop on each product to send/sent. Warning: $lines must be sorted by ->fk_commandefourndet (it is a regroupment key on output)
+ print '';
for ($i = 0; $i < $num_prod; $i++) {
print ''; // id of order line
- print '';
+ print '
';
// #
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) {
@@ -1799,7 +1802,7 @@ if ($action == 'create') {
$label = (!empty($lines[$i]->product->label) ? $lines[$i]->product->label : $lines[$i]->product->product_label);
}
- print '| ';
+ print ' | ';
if (!array_key_exists($lines[$i]->fk_commandefourndet, $arrayofpurchaselinealreadyoutput)) {
$text = $lines[$i]->product->getNomUrl(1);
$text .= ' - '.$label;
@@ -1812,7 +1815,7 @@ if ($action == 'create') {
}
print " | \n";
} else {
- print "";
+ print ' | ';
if (!array_key_exists($lines[$i]->fk_commandefourndet, $arrayofpurchaselinealreadyoutput)) {
if ($lines[$i]->product_type == Product::TYPE_SERVICE) {
$text = img_object($langs->trans('Service'), 'service');
@@ -1840,7 +1843,7 @@ if ($action == 'create') {
// Qty ordered
- print ' | ';
+ print ' | ';
if (!array_key_exists($lines[$i]->fk_commandefourndet, $arrayofpurchaselinealreadyoutput)) {
print $lines[$i]->qty_asked;
}
@@ -1848,7 +1851,7 @@ if ($action == 'create') {
// Qty in other receptions (with reception and warehouse used)
if ($origin && $origin_id > 0) {
- print ' | ';
+ print ' | ';
if (!array_key_exists($lines[$i]->fk_commandefourndet, $arrayofpurchaselinealreadyoutput)) {
foreach ($alreadysent as $key => $val) {
if ($lines[$i]->fk_commandefourndet == $key) {
@@ -1919,7 +1922,7 @@ if ($action == 'create') {
print ' |
';
} else {
// Qty to receive or received
- print '
'.$lines[$i]->qty.' | ';
+ print '
'.$lines[$i]->qty.' | ';
// Warehouse source
if (!empty($conf->stock->enabled)) {
@@ -1939,7 +1942,7 @@ if ($action == 'create') {
if (!empty($conf->productbatch->enabled)) {
if (isset($lines[$i]->batch)) {
print '';
- print '
';
+ print ' | ';
$detail = '';
if ($lines[$i]->product->status_batch) {
$detail .= $langs->trans("Batch").': '.$lines[$i]->batch;
@@ -1963,7 +1966,7 @@ if ($action == 'create') {
}
// Weight
- print ' | ';
+ print ' | ';
if ($lines[$i]->fk_product_type == Product::TYPE_PRODUCT) {
print $lines[$i]->product->weight * $lines[$i]->qty.' '.measuringUnitString(0, "weight", $lines[$i]->product->weight_units);
} else {
@@ -1972,7 +1975,7 @@ if ($action == 'create') {
print ' | ';
// Volume
- print '
';
+ print ' | ';
if ($lines[$i]->fk_product_type == Product::TYPE_PRODUCT) {
print $lines[$i]->product->volume * $lines[$i]->qty.' '.measuringUnitString(0, "volume", $lines[$i]->product->volume_units);
} else {
@@ -2020,6 +2023,7 @@ if ($action == 'create') {
}
}
}
+ print '';
// TODO Show also lines ordered but not delivered
|