Clean code
This commit is contained in:
parent
23d19a8af3
commit
1ca73e609c
@ -1334,7 +1334,6 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
$morehtmlref .= '</div>';
|
$morehtmlref .= '</div>';
|
||||||
|
|
||||||
$object->picto = 'sending';
|
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -113,13 +113,6 @@ if ($action == 'addcontact' && $user->rights->reception->creer) {
|
|||||||
dol_print_error($db);
|
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);
|
$userstatic = new User($db);
|
||||||
|
|
||||||
|
|
||||||
/* *************************************************************************** */
|
// View mode
|
||||||
/* */
|
|
||||||
/* Mode vue et edition */
|
|
||||||
/* */
|
|
||||||
/* *************************************************************************** */
|
|
||||||
|
|
||||||
if ($id > 0 || !empty($ref)) {
|
if ($id > 0 || !empty($ref)) {
|
||||||
$langs->trans("OrderCard");
|
$langs->trans("OrderCard");
|
||||||
@ -193,7 +182,6 @@ if ($id > 0 || !empty($ref)) {
|
|||||||
}
|
}
|
||||||
$morehtmlref .= '</div>';
|
$morehtmlref .= '</div>';
|
||||||
|
|
||||||
$object->picto = 'sending';
|
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -148,7 +148,6 @@ if ($id > 0 || !empty($ref)) {
|
|||||||
}
|
}
|
||||||
$morehtmlref .= '</div>';
|
$morehtmlref .= '</div>';
|
||||||
|
|
||||||
$object->picto = 'sending';
|
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user