Add a condition to show option

This commit is contained in:
Alexandre SPANGARO 2023-01-07 14:06:20 +01:00
parent 183552461c
commit 81a8838070

View File

@ -514,6 +514,7 @@ if (!empty($conf->global->ACCOUNTING_ENABLE_LETTERING)) {
} }
print '</tr>'; print '</tr>';
if (!empty($conf->global->ACCOUNTING_ENABLE_LETTERING)) {
print '<tr class="oddeven">'; print '<tr class="oddeven">';
print '<td>' . $langs->trans("ACCOUNTING_ENABLE_AUTOLETTERING") . '</td>'; print '<td>' . $langs->trans("ACCOUNTING_ENABLE_AUTOLETTERING") . '</td>';
if (!empty($conf->global->ACCOUNTING_ENABLE_AUTOLETTERING)) { if (!empty($conf->global->ACCOUNTING_ENABLE_AUTOLETTERING)) {
@ -526,6 +527,7 @@ if (!empty($conf->global->ACCOUNTING_ENABLE_AUTOLETTERING)) {
print '</a></td>'; print '</a></td>';
} }
print '</tr>'; print '</tr>';
}
print '</table>'; print '</table>';