Clean code

This commit is contained in:
Laurent Destailleur 2021-05-10 19:26:47 +02:00
parent 23d19a8af3
commit 1ca73e609c
3 changed files with 1 additions and 15 deletions

View File

@ -1334,7 +1334,6 @@ if ($action == 'create') {
}
$morehtmlref .= '</div>';
$object->picto = 'sending';
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);

View File

@ -113,13 +113,6 @@ if ($action == 'addcontact' && $user->rights->reception->creer) {
dol_print_error($db);
}
}
/*
elseif ($action == 'setaddress' && $user->rights->reception->creer)
{
$object->fetch($id);
$result=$object->setDeliveryAddress($_POST['fk_address']);
if ($result < 0) dol_print_error($db,$object->error);
}*/
/*
@ -135,11 +128,7 @@ $contactstatic = new Contact($db);
$userstatic = new User($db);
/* *************************************************************************** */
/* */
/* Mode vue et edition */
/* */
/* *************************************************************************** */
// View mode
if ($id > 0 || !empty($ref)) {
$langs->trans("OrderCard");
@ -193,7 +182,6 @@ if ($id > 0 || !empty($ref)) {
}
$morehtmlref .= '</div>';
$object->picto = 'sending';
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);

View File

@ -148,7 +148,6 @@ if ($id > 0 || !empty($ref)) {
}
$morehtmlref .= '</div>';
$object->picto = 'sending';
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);