NEW : Call to trigger on payment social contribution creation
This commit is contained in:
parent
90723357c4
commit
f71755d454
@ -164,6 +164,9 @@ class PaymentSocialContribution extends CommonObject
|
||||
|
||||
}
|
||||
|
||||
$result = $this->call_trigger('PAYMENTSOCIALCONTRIBUTION_CREATE',$user);
|
||||
if($result < 0) $error++;
|
||||
|
||||
if ($totalamount != 0 && ! $error)
|
||||
{
|
||||
$this->amount=$totalamount;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user