FIW : add missing thead on table
This commit is contained in:
parent
09b8e3b1ee
commit
2e065e1702
@ -613,7 +613,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
* Lines or orders with quantity shipped and remain to ship
|
||||
* Note: Qty shipped are already available into $object->expeditions[fk_product]
|
||||
*/
|
||||
print '<table class="noborder noshadow" width="100%">';
|
||||
print '<table id="tablelines" class="noborder noshadow" width="100%">';
|
||||
|
||||
$sql = "SELECT cd.rowid, cd.fk_product, cd.product_type as type, cd.label, cd.description,";
|
||||
$sql .= " cd.price, cd.tva_tx, cd.subprice,";
|
||||
@ -635,18 +635,19 @@ if ($id > 0 || !empty($ref)) {
|
||||
if ($resql) {
|
||||
$num = $db->num_rows($resql);
|
||||
$i = 0;
|
||||
|
||||
print '<thead>';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Description").'</td>';
|
||||
print '<td class="center">'.$langs->trans("QtyOrdered").'</td>';
|
||||
print '<td class="center">'.$langs->trans("QtyShipped").'</td>';
|
||||
print '<td class="center">'.$langs->trans("KeepToShip").'</td>';
|
||||
print '<th>'.$langs->trans("Description").'</th>';
|
||||
print '<th class="center">'.$langs->trans("QtyOrdered").'</th>';
|
||||
print '<th class="center">'.$langs->trans("QtyShipped").'</th>';
|
||||
print '<th class="center">'.$langs->trans("KeepToShip").'</th>';
|
||||
if (!empty($conf->stock->enabled)) {
|
||||
print '<td class="center">'.$langs->trans("RealStock").'</td>';
|
||||
print '<th class="center">'.$langs->trans("RealStock").'</th>';
|
||||
} else {
|
||||
print '<td> </td>';
|
||||
print '<th> </th>';
|
||||
}
|
||||
print "</tr>\n";
|
||||
print '</thead>';
|
||||
|
||||
$toBeShipped = array();
|
||||
$toBeShippedTotal = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user