Fix phpcs
This commit is contained in:
parent
3dfda2ae60
commit
f9eccce26c
@ -780,7 +780,6 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||||||
// TODO Merge all previous cases into this generic one
|
// TODO Merge all previous cases into this generic one
|
||||||
else // $action = BILL_DELETE, TICKET_CREATE, TICKET_MODIFY, TICKET_DELETE, CONTACT_SENTBYMAIL, ...
|
else // $action = BILL_DELETE, TICKET_CREATE, TICKET_MODIFY, TICKET_DELETE, CONTACT_SENTBYMAIL, ...
|
||||||
{
|
{
|
||||||
|
|
||||||
// Note: We are here only if $conf->global->MAIN_AGENDA_ACTIONAUTO_action is on (tested at begining of this function).
|
// Note: We are here only if $conf->global->MAIN_AGENDA_ACTIONAUTO_action is on (tested at begining of this function).
|
||||||
// Note that these key can be set in agenda setup, only if defined into c_action_trigger
|
// Note that these key can be set in agenda setup, only if defined into c_action_trigger
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
@ -878,7 +877,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||||||
$actioncomm->userassigned = $object->sendtouserid;
|
$actioncomm->userassigned = $object->sendtouserid;
|
||||||
}
|
}
|
||||||
if (property_exists($object, 'sendtoid') && is_array($object->sendtoid) && count($object->sendtoid) > 0) {
|
if (property_exists($object, 'sendtoid') && is_array($object->sendtoid) && count($object->sendtoid) > 0) {
|
||||||
foreach($object->sendtoid as $val) {
|
foreach ($object->sendtoid as $val) {
|
||||||
$actioncomm->socpeopleassigned[$val] = $val;
|
$actioncomm->socpeopleassigned[$val] = $val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1074,8 +1074,8 @@ if ($action == 'create')
|
|||||||
print '<td class="center">'.$langs->trans("QtyToShip");
|
print '<td class="center">'.$langs->trans("QtyToShip");
|
||||||
if (empty($conf->productbatch->enabled))
|
if (empty($conf->productbatch->enabled))
|
||||||
{
|
{
|
||||||
print '<br><a href="#" id="autofill">'.$langs->trans("Fill").'</a>';
|
print '<br><a href="#" id="autofill">'.$langs->trans("Fill").'</a>';
|
||||||
print ' / ';
|
print ' / ';
|
||||||
} else {
|
} else {
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user