1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00

FIxes for Entity Created messageS"

This commit is contained in:
David Bomba 2021-05-04 18:43:16 +10:00
parent 9a0d8afafc
commit 148f0466ed
2 changed files with 7 additions and 7 deletions

View File

@ -62,20 +62,20 @@ class EntityCreatedObject
switch ($this->entity_type) {
case 'invoice':
$this->template_subject = "texts.notification_invoice_created_subject";
$this->template_body = "texts.notification_invoice_sent";
$this->template_body = "texts.notification_invoice_created_body";
break;
case 'quote':
$this->template_subject = "texts.notification_quote_created_subject";
$this->template_body = "texts.notification_quote_sent";
$this->template_body = "texts.notification_quote_created_body";
break;
case 'credit':
$this->template_subject = "texts.notification_credit_created_subject";
$this->template_body = "texts.notification_credit_sent";
$this->template_body = "texts.notification_credit_created_body";
break;
default:
$this->template_subject = "texts.notification_invoice_created_subject";
$this->template_body = "texts.notification_invoice_sent";
$this->template_body = "texts.notification_invoice_created_body";
break;
}
}

View File

@ -4229,11 +4229,11 @@ $LANG = array(
'amount_greater_than_balance_v5' => 'The amount is greater than the invoice balance. You cannot overpay an invoice.',
'click_to_continue' => 'Click to continue',
'notification_invoice_created_subject' => 'Invoice :invoice was created to :client',
'notification_invoice_created_body' => 'The following invoice :invoice was created for client :client for :amount.',
'notification_invoice_created_subject' => 'Invoice :invoice was created for :client',
'notification_quote_created_subject' => 'Quote :invoice was created to :client',
'notification_quote_created_body' => 'The following quote :invoice was created for client :client for :amount.',
'notification_quote_created_subject' => 'Quote :invoice was created for :client',
'notification_credit_created_subject' => 'Credit :invoice was created to :client',
'notification_credit_created_body' => 'The following credit :invoice was created for client :client for :amount.',
'notification_credit_created_subject' => 'Credit :invoice was created for :client',
'max_companies' => 'Maximum companies migrated',
'max_companies_desc' => 'You have reached your maximum number of companies. Delete existing companies to migrate new ones.',