Fixing style errors.

This commit is contained in:
stickler-ci 2021-05-01 18:36:59 +00:00
parent b643af9c03
commit 832ceb2be3
3 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@
* Copyright (C) 2012 J. Fernando Lagrange <fernando@demo-tic.org> * Copyright (C) 2012 J. Fernando Lagrange <fernando@demo-tic.org>
* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr> * Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
* Copyright (C) 2020-2021 Frédéric France <frederic.france@netlogic.fr> * Copyright (C) 2020-2021 Frédéric France <frederic.france@netlogic.fr>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or * the Free Software Foundation; either version 3 of the License, or

View File

@ -88,7 +88,7 @@ class AdherentType extends CommonObject
* @var int Subsription required (0 or 1) * @var int Subsription required (0 or 1)
*/ */
public $subscription; public $subscription;
/** /**
* @var float amount for subscription if required * @var float amount for subscription if required
*/ */
@ -548,7 +548,8 @@ class AdherentType extends CommonObject
* @param int $status Filter on status of type * @param int $status Filter on status of type
* @return array List of types of members * @return array List of types of members
*/ */
public function amount_by_type($status = null) { public function amount_by_type($status = null)
{
global $conf, $langs; global $conf, $langs;

View File

@ -795,7 +795,7 @@ if ($rowid > 0) {
print '<tr><td>'.$langs->trans("SubscriptionRequired").'</td><td>'; print '<tr><td>'.$langs->trans("SubscriptionRequired").'</td><td>';
print $form->selectyesno("subscription", $object->subscription, 1); print $form->selectyesno("subscription", $object->subscription, 1);
print '</td></tr>'; print '</td></tr>';
print '<tr><td>'.$langs->trans("DefineAmountMemberType").'</td><td>'; print '<tr><td>'.$langs->trans("DefineAmountMemberType").'</td><td>';
print '<input name="amount" size="5" value="'.price($object->amount).'">'; print '<input name="amount" size="5" value="'.price($object->amount).'">';
print '</td></tr>'; print '</td></tr>';