FIX set donation as received after payment done (#34006)
* fix setpaid don * enhance
This commit is contained in:
parent
8ec897bd83
commit
1ae126f179
1 changed files with 1 additions and 0 deletions
|
|
@ -1264,6 +1264,7 @@ if ($ispaymentok) {
|
|||
$ispostactionok = 1;
|
||||
|
||||
if ($totalpaid >= $don->getRemainToPay()) {
|
||||
$don->valid_promesse($don->id, $user->id);
|
||||
$don->setPaid($don->id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue