Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
c08c9006
Commit
c08c9006
authored
11 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: amount is not a type
parent
4cb671f4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/adherents/class/adherent.class.php
+9
-9
9 additions, 9 deletions
htdocs/adherents/class/adherent.class.php
with
9 additions
and
9 deletions
htdocs/adherents/class/adherent.class.php
+
9
−
9
View file @
c08c9006
...
...
@@ -1242,15 +1242,15 @@ class Adherent extends CommonObject
/**
* Insert subscription into database and eventually add links to banks, mailman, etc...
*
* @param timestamp $date Date
d'
effet
de la cotisa
tion
* @param
amount
$montant
Montant cotisa
tion (accepte
0 pour les adherents non soumis a cotisation
)
* @param int $accountid Id
compte bancaire
* @param string $operation Type operation (
s
i Id
compte bancaire fourni
)
* @param string $label Label operation (
s
i Id
compte bancaire fourni
)
* @param string $num_chq Numero cheque (
s
i Id
compte bancaire fourni
)
* @param string $emetteur_nom N
om emetteur cheque
* @param string $emetteur_banque N
om banque emetteur
cheque
* @param timestamp $datesubend Date
fin adhes
ion
* @param timestamp $date Date
of
effe
c
t
of subscrip
tion
* @param
double
$montant
Amount of subscrip
tion (
0
accepte
d for some members
)
* @param int $accountid Id
bank account
* @param string $operation Type operation (i
f
Id
bank account provided
)
* @param string $label Label operation (i
f
Id
bank account provided
)
* @param string $num_chq Numero cheque (i
f
Id
bank account provided
)
* @param string $emetteur_nom N
ame of cheque writer
* @param string $emetteur_banque N
ame of bank of
cheque
* @param timestamp $datesubend Date
end subscript
ion
* @return int rowid of record added, <0 if KO
*/
function
cotisation
(
$date
,
$montant
,
$accountid
=
0
,
$operation
=
''
,
$label
=
''
,
$num_chq
=
''
,
$emetteur_nom
=
''
,
$emetteur_banque
=
''
,
$datesubend
=
0
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment