Debug v17

This commit is contained in:
Laurent Destailleur
2022-12-31 14:01:03 +01:00
parent 8dc89e9a9a
commit 751f79b672
31 changed files with 798 additions and 794 deletions

View File

@@ -1833,7 +1833,8 @@ if ($action == 'create' && $usercancreate) {
// Shipping Method
if (isModEnabled('expedition')) {
print '<tr><td>'.$langs->trans('SendingMethod').'</td><td>';
print img_picto('', 'object_dolly', 'class="pictofixedwidth"').$form->selectShippingMethod($shipping_method_id, 'shipping_method_id', '', 1, '', 0, 'maxwidth200 widthcentpercentminusx');
print img_picto('', 'object_dolly', 'class="pictofixedwidth"');
$form->selectShippingMethod($shipping_method_id, 'shipping_method_id', '', 1, '', 0, 'maxwidth200 widthcentpercentminusx');
print '</td></tr>';
}
@@ -2736,7 +2737,7 @@ if ($action == 'create' && $usercancreate) {
// Show object lines
if (!empty($object->lines)) {
$ret = $object->printObjectLines($action, $mysoc, $soc, $lineid, 1);
$object->printObjectLines($action, $mysoc, $soc, $lineid, 1);
}
$numlines = count($object->lines);