Fix: [ bug #777 ] Withdrawal receipt set Credited
This commit is contained in:
parent
2731b0af2b
commit
26d2e3d928
@ -442,7 +442,7 @@ class Paiement extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add link 'company' in bank_url between invoice and bank transaction (for each invoice concerned by payment)
|
// Add link 'company' in bank_url between invoice and bank transaction (for each invoice concerned by payment)
|
||||||
if (! $error)
|
if (! $error && $label != '(WithdrawalPayment)')
|
||||||
{
|
{
|
||||||
$linkaddedforthirdparty=array();
|
$linkaddedforthirdparty=array();
|
||||||
foreach ($this->amounts as $key => $value) // We should have always same third party but we loop in case of.
|
foreach ($this->amounts as $key => $value) // We should have always same third party but we loop in case of.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user