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
68866eaa
Commit
68866eaa
authored
12 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Withdrawal payment warning
parent
a9ce8083
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/compta/prelevement/class/bonprelevement.class.php
+2
-2
2 additions, 2 deletions
htdocs/compta/prelevement/class/bonprelevement.class.php
with
2 additions
and
2 deletions
htdocs/compta/prelevement/class/bonprelevement.class.php
+
2
−
2
View file @
68866eaa
<?php
<?php
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2010-201
2
Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2010-201
3
Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -450,7 +450,7 @@ class BonPrelevement extends CommonObject
...
@@ -450,7 +450,7 @@ class BonPrelevement extends CommonObject
}
}
else
else
{
{
$result
=
$paiement
->
addPaymentToBank
(
$user
,
'payment'
,
'(WithdrawalPayment)'
,
$bankaccount
);
$result
=
$paiement
->
addPaymentToBank
(
$user
,
'payment'
,
'(WithdrawalPayment)'
,
$bankaccount
,
''
,
''
);
if
(
$result
<
0
)
if
(
$result
<
0
)
{
{
dol_syslog
(
get_class
(
$this
)
.
"::set_credite AddPaymentToBank Error"
);
dol_syslog
(
get_class
(
$this
)
.
"::set_credite AddPaymentToBank Error"
);
...
...
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