fix phpcs

This commit is contained in:
Frédéric FRANCE 2021-03-01 21:44:59 +01:00
parent 287b215ef0
commit 13c9a96107
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
3 changed files with 5 additions and 7 deletions

View File

@ -341,8 +341,7 @@ foreach ($bankcateg->fetchAll() as $bankcategory) {
/* ************************************************************************** */ /* ************************************************************************** */
if ($action == 'create') { if ($action == 'create') {
// Update fields properties in realtime // Update fields properties in realtime
if (!empty($conf->use_javascript_ajax)) if (!empty($conf->use_javascript_ajax)) {
{
print "\n".'<script type="text/javascript" language="javascript">'; print "\n".'<script type="text/javascript" language="javascript">';
print '$(document).ready(function () { print '$(document).ready(function () {
setPaymentType(); setPaymentType();

View File

@ -356,8 +356,7 @@ if ($action == 'create') {
// Company // Company
if (!empty($conf->societe->enabled) && !empty($conf->global->DONATION_USE_THIRDPARTIES)) { if (!empty($conf->societe->enabled) && !empty($conf->global->DONATION_USE_THIRDPARTIES)) {
// Thirdparty // Thirdparty
if ($soc->id > 0) if ($soc->id > 0) {
{
print '<td class="fieldrequired">'.$langs->trans('ThirdParty').'</td>'; print '<td class="fieldrequired">'.$langs->trans('ThirdParty').'</td>';
print '<td>'; print '<td>';
print $soc->getNomUrl(1); print $soc->getNomUrl(1);