Fixing style errors.

This commit is contained in:
stickler-ci 2021-07-20 13:35:10 +00:00
parent dc90a62d90
commit 2f0ba41a53
6 changed files with 15 additions and 21 deletions

View File

@ -1958,7 +1958,6 @@ if ($action == 'create') {
$notify = new Notify($db); $notify = new Notify($db);
$text .= '<br>'; $text .= '<br>';
$text .= $notify->confirmMessage('PROPAL_VALIDATE', $object->socid, $object); $text .= $notify->confirmMessage('PROPAL_VALIDATE', $object->socid, $object);
} }
// mandatoryPeriod // mandatoryPeriod

View File

@ -180,7 +180,6 @@ if (($line->info_bits & 2) == 2) {
} else { } else {
if ($line->date_start || $line->date_end) { if ($line->date_start || $line->date_end) {
print '<br><div class="clearboth nowraponall opacitymedium">'.get_date_range($line->date_start, $line->date_end, $format).'</div>'; print '<br><div class="clearboth nowraponall opacitymedium">'.get_date_range($line->date_start, $line->date_end, $format).'</div>';
} }
if (!$line->date_start || !$line->date_end) { if (!$line->date_start || !$line->date_end) {
// show warning under line // show warning under line

View File

@ -1993,9 +1993,6 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '<td><input type="checkbox" name="mandatoryperiod"'.($object->mandatory_period == 1 ? ' checked="checked"' : '').' /> '; print '<td><input type="checkbox" name="mandatoryperiod"'.($object->mandatory_period == 1 ? ' checked="checked"' : '').' /> ';
print '</td></tr>'; print '</td></tr>';
} }
} }
} }
print '</table>'; print '</table>';
@ -2287,7 +2284,6 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '<td class="center">'; print '<td class="center">';
print $form->textwithpicto('', $htmltooltip, 1, 0); print $form->textwithpicto('', $htmltooltip, 1, 0);
print '</td></tr>'; print '</td></tr>';
} else { } else {
if (empty($conf->global->PRODUCT_DISABLE_NATURE)) { if (empty($conf->global->PRODUCT_DISABLE_NATURE)) {
// Nature // Nature