Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
commit
a2b680aa5a
@ -563,6 +563,18 @@ class Paiement extends CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
// Add link 'WithdrawalPayment' in bank_url
|
||||
if (! $error && $label == '(WithdrawalPayment)')
|
||||
{
|
||||
$result=$acc->add_url_line(
|
||||
$bank_line_id,
|
||||
$this->id_prelevement,
|
||||
DOL_URL_ROOT.'/compta/prelevement/card.php?id=',
|
||||
$this->num_paiement,
|
||||
'withdraw'
|
||||
);
|
||||
}
|
||||
|
||||
if (! $error && ! $notrigger)
|
||||
{
|
||||
// Appel des triggers
|
||||
|
||||
@ -462,6 +462,7 @@ class BonPrelevement extends CommonObject
|
||||
$paiement->amounts = $amounts;
|
||||
$paiement->paiementid = 3; //
|
||||
$paiement->num_paiement = $this->ref ;
|
||||
$paiement->id_prelevement = $this->id ;
|
||||
|
||||
$paiement_id = $paiement->create($user);
|
||||
if ($paiement_id < 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user