Fixing style errors.
This commit is contained in:
parent
7b702d19d4
commit
ee55a7de5a
@ -638,8 +638,7 @@ if (!empty($arrayfields['e.date_delivery']['checked'])) {
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
if (!empty($arrayfields['e.shipping_method_id']['checked']))
|
if (!empty($arrayfields['e.shipping_method_id']['checked'])) {
|
||||||
{
|
|
||||||
// Delivery method
|
// Delivery method
|
||||||
print '<td class="liste_titre center">';
|
print '<td class="liste_titre center">';
|
||||||
$shipment->fetch_delivery_methods();
|
$shipment->fetch_delivery_methods();
|
||||||
@ -885,12 +884,11 @@ while ($i < min($num, $limit)) {
|
|||||||
print dol_print_date($db->jdate($obj->delivery_date), "dayhour");
|
print dol_print_date($db->jdate($obj->delivery_date), "dayhour");
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
}
|
}
|
||||||
if (!empty($arrayfields['e.shipping_method_id']['checked']))
|
if (!empty($arrayfields['e.shipping_method_id']['checked'])) {
|
||||||
{
|
|
||||||
// Get code using getLabelFromKey
|
// Get code using getLabelFromKey
|
||||||
$code=$langs->getLabelFromKey($db, $shipment->shipping_method_id, 'c_shipment_mode', 'rowid', 'code');
|
$code=$langs->getLabelFromKey($db, $shipment->shipping_method_id, 'c_shipment_mode', 'rowid', 'code');
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
if($shipment->shipping_method_id > 0) print $langs->trans("SendingMethod".strtoupper($code));
|
if ($shipment->shipping_method_id > 0) print $langs->trans("SendingMethod".strtoupper($code));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
// Tracking number
|
// Tracking number
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user