Skip to content
Snippets Groups Projects
Commit 68866eaa authored by Juanjo Menent's avatar Juanjo Menent
Browse files

Fix: Withdrawal payment warning

parent a9ce8083
No related branches found
No related tags found
No related merge requests found
<?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-2012 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2010-2013 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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment