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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
1405c03f
Commit
1405c03f
authored
10 years ago
by
aspangaro
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Civility & birthdate wasn't save into adherent module
parent
41f09206
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+6
-5
6 additions, 5 deletions
ChangeLog
htdocs/adherents/class/adherent.class.php
+7
-6
7 additions, 6 deletions
htdocs/adherents/class/adherent.class.php
htdocs/adherents/fiche.php
+3
-2
3 additions, 2 deletions
htdocs/adherents/fiche.php
with
16 additions
and
13 deletions
ChangeLog
+
6
−
5
View file @
1405c03f
...
@@ -4,17 +4,18 @@ English Dolibarr ChangeLog
...
@@ -4,17 +4,18 @@ English Dolibarr ChangeLog
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice
.
- Fix: bug 1588 : relative discount
- Fix: bug 1588 : relative discount
.
- Fix: label of input method not tranlated.
- Fix: label of input method not tranlated.
- Fix: box of customer and propsects were not correctly disabled.
- Fix: box of customer and propsects were not correctly disabled.
- Fix: right and error management #1961
- Fix: right and error management #1961.
- Fix: Fix Error when trying to clone an Order #1943
- Fix: Fix Error when trying to clone an Order #1943.
- Fix: Civility & birthdate wasn't save into adherent module.
***** ChangeLog for 3.6.1 compared to 3.6.* *****
***** ChangeLog for 3.6.1 compared to 3.6.* *****
For users:
For users:
- Fix: Can upload files on services.
- Fix: Can upload files on services.
- Fix: sql errors on updat fichinter.
- Fix: sql errors on updat
e
fichinter.
- Fix: debian script syntax error.
- Fix: debian script syntax error.
- Fix: error "menu param is not inside list" into pos module.
- Fix: error "menu param is not inside list" into pos module.
- Fix: Salary payments are not reflected on the reporting sheets.
- Fix: Salary payments are not reflected on the reporting sheets.
...
...
This diff is collapsed.
Click to expand it.
htdocs/adherents/class/adherent.class.php
+
7
−
6
View file @
1405c03f
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2009-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2009-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
*
*
* 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
...
@@ -124,7 +125,7 @@ class Adherent extends CommonObject
...
@@ -124,7 +125,7 @@ class Adherent extends CommonObject
/**
/**
* F
o
nction en
voyant un email a l'adherent avec le texte fourni e
n paramet
r
e.
* F
u
nction
s
en
ding an email has the adherent with the text supplied i
n paramete
r
.
*
*
* @param string $text Content of message (not html entities encoded)
* @param string $text Content of message (not html entities encoded)
* @param string $subject Subject of message
* @param string $subject Subject of message
...
@@ -247,9 +248,9 @@ class Adherent extends CommonObject
...
@@ -247,9 +248,9 @@ class Adherent extends CommonObject
/**
/**
* Re
nvoie le
l
i
bel
le traduit de la
nature
d'un
adherent (physi
que
o
u
moral
e
)
* Re
turn translated
l
a
bel
by the
nature
of a
adherent (physi
cal
o
r
moral)
*
*
* @param string $morphy Nature physi
que
o
u
moral
e de l'adherent
* @param string $morphy Nature
of the adherent (
physi
cal
o
r
moral
)
* @return string Label
* @return string Label
*/
*/
function
getmorphylib
(
$morphy
=
''
)
function
getmorphylib
(
$morphy
=
''
)
...
@@ -348,12 +349,12 @@ class Adherent extends CommonObject
...
@@ -348,12 +349,12 @@ class Adherent extends CommonObject
if
(
!
$notrigger
)
if
(
!
$notrigger
)
{
{
//
Appel des
triggers
//
Call
triggers
include_once
DOL_DOCUMENT_ROOT
.
'/core/class/interfaces.class.php'
;
include_once
DOL_DOCUMENT_ROOT
.
'/core/class/interfaces.class.php'
;
$interface
=
new
Interfaces
(
$this
->
db
);
$interface
=
new
Interfaces
(
$this
->
db
);
$result
=
$interface
->
run_triggers
(
'MEMBER_CREATE'
,
$this
,
$user
,
$langs
,
$conf
);
$result
=
$interface
->
run_triggers
(
'MEMBER_CREATE'
,
$this
,
$user
,
$langs
,
$conf
);
if
(
$result
<
0
)
{
$error
++
;
$this
->
errors
=
$interface
->
errors
;
}
if
(
$result
<
0
)
{
$error
++
;
$this
->
errors
=
$interface
->
errors
;
}
//
Fin appe
l triggers
//
End cal
l triggers
}
}
if
(
count
(
$this
->
errors
))
if
(
count
(
$this
->
errors
))
...
@@ -1101,7 +1102,7 @@ class Adherent extends CommonObject
...
@@ -1101,7 +1102,7 @@ class Adherent extends CommonObject
$this
->
ref
=
$obj
->
rowid
;
$this
->
ref
=
$obj
->
rowid
;
$this
->
id
=
$obj
->
rowid
;
$this
->
id
=
$obj
->
rowid
;
$this
->
ref_ext
=
$obj
->
ref_ext
;
$this
->
ref_ext
=
$obj
->
ref_ext
;
$this
->
civility_id
=
$obj
->
civility
;
$this
->
civility_id
=
$obj
->
civility
_id
;
$this
->
firstname
=
$obj
->
firstname
;
$this
->
firstname
=
$obj
->
firstname
;
$this
->
lastname
=
$obj
->
lastname
;
$this
->
lastname
=
$obj
->
lastname
;
$this
->
login
=
$obj
->
login
;
$this
->
login
=
$obj
->
login
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/adherents/fiche.php
+
3
−
2
View file @
1405c03f
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2012 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2012 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2012-2013 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2012-2013 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
*
*
* 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
...
@@ -707,7 +708,7 @@ else
...
@@ -707,7 +708,7 @@ else
{
{
/* ************************************************************************** */
/* ************************************************************************** */
/* */
/* */
/*
Fiche c
reation */
/*
C
reation
card
*/
/* */
/* */
/* ************************************************************************** */
/* ************************************************************************** */
$object
->
canvas
=
$canvas
;
$object
->
canvas
=
$canvas
;
...
@@ -870,7 +871,7 @@ else
...
@@ -870,7 +871,7 @@ else
// Birthday
// Birthday
print
"<tr><td>"
.
$langs
->
trans
(
"Birthday"
)
.
"</td><td>
\n
"
;
print
"<tr><td>"
.
$langs
->
trans
(
"Birthday"
)
.
"</td><td>
\n
"
;
$form
->
select_date
((
$object
->
naiss
?
$object
->
naiss
:
-
1
),
'
naiss
'
,
''
,
''
,
1
,
'formsoc'
);
$form
->
select_date
((
$object
->
birth
?
$object
->
birth
:
-
1
),
'
birth
'
,
''
,
''
,
1
,
'formsoc'
);
print
"</td></tr>
\n
"
;
print
"</td></tr>
\n
"
;
// Profil public
// Profil public
...
...
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