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
1b153aef
Commit
1b153aef
authored
12 years ago
by
Marcos García de La Fuente
Browse files
Options
Downloads
Patches
Plain Diff
Fixed donation payment mode translation and another problem with donation edit form
parent
c8eac78a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/compta/dons/fiche.php
+6
-2
6 additions, 2 deletions
htdocs/compta/dons/fiche.php
with
6 additions
and
2 deletions
htdocs/compta/dons/fiche.php
+
6
−
2
View file @
1b153aef
...
...
@@ -405,7 +405,11 @@ if (! empty($id) && $action == 'edit')
print
"<tr>"
.
'<td>'
.
$langs
->
trans
(
"EMail"
)
.
'</td><td><input type="text" name="email" size="40" value="'
.
$don
->
email
.
'"></td></tr>'
;
print
"<tr><td>"
.
$langs
->
trans
(
"PaymentMode"
)
.
"</td><td>
\n
"
;
$form
->
select_types_paiements
(
''
,
'modepaiement'
,
'CRDT'
,
0
,
1
);
if
(
$don
->
modepaiementid
)
$selected
=
$don
->
modepaiementid
;
else
$selected
=
''
;
$form
->
select_types_paiements
(
$selected
,
'modepaiement'
,
'CRDT'
,
0
,
1
);
print
"</td></tr>
\n
"
;
print
"<tr>"
.
'<td>'
.
$langs
->
trans
(
"Status"
)
.
'</td><td>'
.
$don
->
getLibStatut
(
4
)
.
'</td></tr>'
;
...
...
@@ -496,7 +500,7 @@ if (! empty($id) && $action != 'edit')
// Payment mode
print
"<tr><td>"
.
$langs
->
trans
(
"PaymentMode"
)
.
"</td><td>"
;
print
$don
->
modepaiement
;
print
$form
->
form_modes_reglement
(
null
,
$don
->
modepaiement
id
,
'none'
)
;
print
"</td></tr>
\n
"
;
print
"<tr>"
.
'<td>'
.
$langs
->
trans
(
"Status"
)
.
'</td><td>'
.
$don
->
getLibStatut
(
4
)
.
'</td></tr>'
;
...
...
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