Merge pull request #6253 from beganovich/v5-1207-payment-was-made-email

Pass correct message to EntityPaidObject
This commit is contained in:
Benjamin Beganović 2021-07-12 17:24:07 +02:00 committed by GitHub
commit ab6ca53f8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ class EntityPaidObject
'texts.notification_payment_paid_subject', 'texts.notification_payment_paid_subject',
['client' => $this->payment->client->present()->name()] ['client' => $this->payment->client->present()->name()]
), ),
'message' => ctrans( 'content' => ctrans(
'texts.notification_payment_paid', 'texts.notification_payment_paid',
['amount' => $amount, ['amount' => $amount,
'client' => $this->payment->client->present()->name(), 'client' => $this->payment->client->present()->name(),