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
4e23f1ad
Commit
4e23f1ad
authored
8 years ago
by
Laurent Destailleur
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #5902 from aspangaro/5.0-p25
Better presentation of invoice payment page
parents
18fad208
b67c4ece
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/paiement.php
+9
-9
9 additions, 9 deletions
htdocs/compta/paiement.php
with
9 additions
and
9 deletions
htdocs/compta/paiement.php
+
9
−
9
View file @
4e23f1ad
...
...
@@ -461,24 +461,19 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
print
'<table class="border" width="100%">'
;
// Third party
print
'<tr><td><span class="fieldrequired">'
.
$langs
->
trans
(
'Company'
)
.
'</span></td><td
colspan="2"
>'
.
$facture
->
thirdparty
->
getNomUrl
(
4
)
.
"</td></tr>
\n
"
;
print
'<tr><td><span class="fieldrequired">'
.
$langs
->
trans
(
'Company'
)
.
'</span></td><td>'
.
$facture
->
thirdparty
->
getNomUrl
(
4
)
.
"</td></tr>
\n
"
;
// Date payment
print
'<tr><td><span class="fieldrequired">'
.
$langs
->
trans
(
'Date'
)
.
'</span></td><td>'
;
$datepayment
=
dol_mktime
(
12
,
0
,
0
,
$_POST
[
'remonth'
],
$_POST
[
'reday'
],
$_POST
[
'reyear'
]);
$datepayment
=
(
$datepayment
==
''
?
(
empty
(
$conf
->
global
->
MAIN_AUTOFILL_DATE
)
?-
1
:
''
)
:
$datepayment
);
$form
->
select_date
(
$datepayment
,
''
,
''
,
''
,
0
,
"add_paiement"
,
1
,
1
,
0
,
0
,
''
,
''
,
$facture
->
date
);
print
'</td>'
;
print
'<td>'
.
$langs
->
trans
(
'Comments'
)
.
'</td></tr>'
;
$rowspan
=
5
;
print
'</td></tr>'
;
// Payment mode
print
'<tr><td><span class="fieldrequired">'
.
$langs
->
trans
(
'PaymentMode'
)
.
'</span></td><td>'
;
$form
->
select_types_paiements
((
GETPOST
(
'paiementcode'
)
?
GETPOST
(
'paiementcode'
)
:
$facture
->
mode_reglement_code
),
'paiementcode'
,
''
,
2
);
print
"</td>
\n
"
;
print
'<td rowspan="'
.
$rowspan
.
'" valign="top">'
;
print
'<textarea name="comment" wrap="soft" cols="60" rows="'
.
ROWS_4
.
'">'
.
(
empty
(
$_POST
[
'comment'
])
?
''
:
$_POST
[
'comment'
])
.
'</textarea></td>'
;
print
'</tr>'
;
// Bank account
...
...
@@ -493,7 +488,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
}
else
{
print
'<td
colspan="2"
> </td>'
;
print
'<td> </td>'
;
}
print
"</tr>
\n
"
;
...
...
@@ -515,6 +510,11 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
print
'</td>'
;
print
'<td><input name="chqbank" size="30" type="text" value="'
.
GETPOST
(
'chqbank'
)
.
'"></td></tr>'
;
// Comments
print
'<tr><td>'
.
$langs
->
trans
(
'Comments'
)
.
'</td>'
;
print
'<td valign="top">'
;
print
'<textarea name="comment" wrap="soft" cols="60" rows="'
.
ROWS_4
.
'">'
.
(
empty
(
$_POST
[
'comment'
])
?
''
:
$_POST
[
'comment'
])
.
'</textarea></td></tr>'
;
print
'</table>'
;
dol_fiche_end
();
...
...
@@ -633,7 +633,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
print
'<td align="center">'
.
dol_print_date
(
$db
->
jdate
(
$objp
->
df
),
'day'
)
.
"</td>
\n
"
;
// Currency
print
'<td align="center">'
.
$objp
->
multicurrency_code
.
"</td>
\n
"
;
if
(
!
empty
(
$conf
->
multicurrency
->
enabled
))
print
'<td align="center">'
.
$objp
->
multicurrency_code
.
"</td>
\n
"
;
// Multicurrency Price
if
(
!
empty
(
$conf
->
multicurrency
->
enabled
))
...
...
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