Skip to content

Commit

Permalink
Merge pull request #8460 from dolibarr95/patch-42
Browse files Browse the repository at this point in the history
NEW: Add date in goods reception supplier order table
  • Loading branch information
eldy committed Mar 27, 2018
2 parents 1a47399 + 5a63771 commit f054380
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions htdocs/fourn/commande/dispatch.php
Expand Up @@ -736,7 +736,7 @@
// List of lines already dispatched
$sql = "SELECT p.ref, p.label,";
$sql .= " e.rowid as warehouse_id, e.ref as entrepot,";
$sql .= " cfd.rowid as dispatchlineid, cfd.fk_product, cfd.qty, cfd.eatby, cfd.sellby, cfd.batch, cfd.comment, cfd.status";
$sql .= " cfd.rowid as dispatchlineid, cfd.fk_product, cfd.qty, cfd.eatby, cfd.sellby, cfd.batch, cfd.comment, cfd.status, cfd.datec";
$sql .= " FROM " . MAIN_DB_PREFIX . "product as p,";
$sql .= " " . MAIN_DB_PREFIX . "commande_fournisseur_dispatch as cfd";
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "entrepot as e ON cfd.fk_entrepot = e.rowid";
Expand Down Expand Up @@ -770,6 +770,7 @@
print '<td>' . $langs->trans("Comment") . '</td>';
if (! empty($conf->global->SUPPLIER_ORDER_USE_DISPATCH_STATUS))
print '<td align="center" colspan="2">' . $langs->trans("Status") . '</td>';
print '<td>' . $langs->trans("Date") . '</td>';
print "</tr>\n";

$var = false;
Expand Down Expand Up @@ -841,7 +842,9 @@
}
print '</td>';
}

// date
print '<td>' . dol_print_date($objp->datec) . '</td>';

print "</tr>\n";

$i ++;
Expand Down

0 comments on commit f054380

Please sign in to comment.