Fixing style errors.
This commit is contained in:
parent
b643af9c03
commit
832ceb2be3
@ -9,7 +9,7 @@
|
||||
* Copyright (C) 2012 J. Fernando Lagrange <fernando@demo-tic.org>
|
||||
* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.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
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
|
||||
@ -88,7 +88,7 @@ class AdherentType extends CommonObject
|
||||
* @var int Subsription required (0 or 1)
|
||||
*/
|
||||
public $subscription;
|
||||
|
||||
|
||||
/**
|
||||
* @var float amount for subscription if required
|
||||
*/
|
||||
@ -548,7 +548,8 @@ class AdherentType extends CommonObject
|
||||
* @param int $status Filter on status of type
|
||||
* @return array List of types of members
|
||||
*/
|
||||
public function amount_by_type($status = null) {
|
||||
public function amount_by_type($status = null)
|
||||
{
|
||||
|
||||
global $conf, $langs;
|
||||
|
||||
|
||||
@ -795,7 +795,7 @@ if ($rowid > 0) {
|
||||
print '<tr><td>'.$langs->trans("SubscriptionRequired").'</td><td>';
|
||||
print $form->selectyesno("subscription", $object->subscription, 1);
|
||||
print '</td></tr>';
|
||||
|
||||
|
||||
print '<tr><td>'.$langs->trans("DefineAmountMemberType").'</td><td>';
|
||||
print '<input name="amount" size="5" value="'.price($object->amount).'">';
|
||||
print '</td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user