mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Minor fixes for entity sent description
This commit is contained in:
parent
c0c9c00c80
commit
90198e6b7a
@ -121,7 +121,7 @@ class EntitySentObject
|
||||
ctrans(
|
||||
$this->template_subject,
|
||||
[
|
||||
'client' => $this->contact->present()->name(),
|
||||
'client' => $this->contact->client->present()->name(),
|
||||
'invoice' => $this->entity->number,
|
||||
]
|
||||
);
|
||||
@ -133,7 +133,7 @@ class EntitySentObject
|
||||
$this->template_body,
|
||||
[
|
||||
'amount' => $this->getAmount(),
|
||||
'client' => $this->contact->present()->name(),
|
||||
'client' => $this->contact->client->present()->name(),
|
||||
'invoice' => $this->entity->number,
|
||||
]
|
||||
);
|
||||
|
@ -103,14 +103,14 @@ class EntitySentNotification extends Notification
|
||||
"texts.notification_{$this->entity_name}_sent_subject",
|
||||
[
|
||||
'amount' => $amount,
|
||||
'client' => $this->contact->present()->name(),
|
||||
'client' => $this->contact->client->present()->name(),
|
||||
'invoice' => $this->entity->number,
|
||||
]
|
||||
))
|
||||
->attachment(function ($attachment) use ($amount) {
|
||||
$attachment->title(ctrans('texts.invoice_number_placeholder', ['invoice' => $this->entity->number]), $this->invitation->getAdminLink())
|
||||
->fields([
|
||||
ctrans('texts.client') => $this->contact->present()->name(),
|
||||
ctrans('texts.client') => $this->contact->client->present()->name(),
|
||||
ctrans('texts.amount') => $amount,
|
||||
]);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user