Doc
This commit is contained in:
parent
da94a9b1ae
commit
6acce68070
1 changed files with 4 additions and 3 deletions
|
|
@ -715,9 +715,10 @@ if ($event->type == 'payout.created' && getDolGlobalString('STRIPE_AUTO_RECORD_P
|
|||
|
||||
$appli = $mysoc->name;
|
||||
|
||||
$subject = '['.$appli.'] Invoice direct debit payment recevied';
|
||||
$msg = 'An invoice direct debit payment for invoice '.$invoice->ref.' has been recevied';
|
||||
if (is_object($arraydefaultmessage) && $arraydefaultmessage->id > 0) {
|
||||
// Default value
|
||||
$subject = '['.$appli.'] Invoice direct debit payment recieved';
|
||||
$msg = 'An invoice direct debit payment for invoice '.$invoice->ref.' has been recieved';
|
||||
if (is_object($arraydefaultmessage) && $arraydefaultmessage->id > 0) { // We overwrite with value from template
|
||||
$subject = $arraydefaultmessage->topic;
|
||||
$msg = $arraydefaultmessage->content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue