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
7950ab26
Commit
7950ab26
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Avoid duplicate line
parent
efcbc269
Branches
Branches containing commit
Tags
Tags containing commit
Loading
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/compta/bank/rappro.php
+11
-13
11 additions, 13 deletions
htdocs/compta/bank/rappro.php
htdocs/compta/sociales/charges.php
+2
-2
2 additions, 2 deletions
htdocs/compta/sociales/charges.php
with
13 additions
and
15 deletions
htdocs/compta/bank/rappro.php
+
11
−
13
View file @
7950ab26
...
...
@@ -144,7 +144,7 @@ if ($resql)
print_fiche_titre
(
$langs
->
trans
(
"Reconciliation"
)
.
': <a href="account.php?account='
.
$_GET
[
"account"
]
.
'">'
.
$acct
->
label
.
'</a>'
);
print
'<br>'
;
if
(
$mesg
)
print
$mesg
.
"<br>"
;
dol_htmloutput_mesg
(
$mesg
)
;
// Show last bank receipts
$nbmax
=
5
;
...
...
@@ -245,8 +245,8 @@ if ($resql)
$links
=
$acct
->
get_url
(
$objp
->
rowid
);
foreach
(
$links
as
$key
=>
$val
)
{
if
(
!
$newline
)
print
' - '
;
else
print
'<br>'
;
if
(
$newline
==
0
)
print
' - '
;
else
if
(
$newline
==
1
)
print
'<br>'
;
if
(
$links
[
$key
][
'type'
]
==
'payment'
)
{
$paymentstatic
->
id
=
$links
[
$key
][
'url_id'
];
print
' '
.
$paymentstatic
->
getNomUrl
(
2
);
...
...
@@ -259,10 +259,9 @@ if ($resql)
$newline
=
0
;
}
elseif
(
$links
[
$key
][
'type'
]
==
'company'
)
{
print
'<a href="'
.
DOL_URL_ROOT
.
'/comm/fiche.php?socid='
.
$links
[
$key
][
'url_id'
]
.
'">'
;
print
img_object
(
$langs
->
trans
(
'ShowCustomer'
),
'company'
)
.
' '
;
print
dol_trunc
(
$links
[
$key
][
'label'
],
24
);
print
'</a>'
;
$societestatic
->
id
=
$links
[
$key
][
'url_id'
];
$societestatic
->
name
=
$links
[
$key
][
'label'
];
print
$societestatic
->
getNomUrl
(
1
,
''
,
24
);
$newline
=
0
;
}
else
if
(
$links
[
$key
][
'type'
]
==
'sc'
)
{
...
...
@@ -273,13 +272,12 @@ if ($resql)
}
else
if
(
$links
[
$key
][
'type'
]
==
'payment_sc'
)
{
//print ' - ';
/*
print '<a href="'.DOL_URL_ROOT.'/compta/sociales/xxx.php?id='.$links[$key]['url_id'].'">';
//print img_object($langs->trans('ShowPayment'),'payment').' ';
// We don't show anything because there is 1 payment for 1 social contribution and we already show link to social contribution
/*print '<a href="'.DOL_URL_ROOT.'/compta/payment_sc/fiche.php?id='.$links[$key]['url_id'].'">';
print img_object($langs->trans('ShowPayment'),'payment').' ';
print $langs->trans("SocialContributionPayment");
print '</a>';
*/
print '</a>';
*/
$newline
=
2
;
}
else
if
(
$links
[
$key
][
'type'
]
==
'payment_vat'
)
{
...
...
This diff is collapsed.
Click to expand it.
htdocs/compta/sociales/charges.php
+
2
−
2
View file @
7950ab26
<?php
/* Copyright (C) 2004-201
1
Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2004-201
2
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -397,7 +397,7 @@ if ($chid > 0)
if
(
$action
==
'edit'
)
{
print
'<div align="center">'
;
print
'<
br><
div align="center">'
;
print
'<input type="submit" class="button" name="save" value="'
.
$langs
->
trans
(
"Save"
)
.
'">'
;
print
' '
;
print
'<input type="submit" class="button" name="cancel" value="'
.
$langs
->
trans
(
"Cancel"
)
.
'">'
;
...
...
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