diff --git a/app/Abstracts/View/Components/TransactionShow.php b/app/Abstracts/View/Components/TransactionShow.php index aea94d38f..4769544fc 100644 --- a/app/Abstracts/View/Components/TransactionShow.php +++ b/app/Abstracts/View/Components/TransactionShow.php @@ -1052,7 +1052,7 @@ abstract class TransactionShow extends Base return $translation; } - return 'revenus.paid_by'; + return 'revenues.paid_by'; } protected function getTextReleatedTransansaction($type, $textReleatedTransansaction) diff --git a/app/Abstracts/View/Components/TransactionTemplate.php b/app/Abstracts/View/Components/TransactionTemplate.php index 4ebb74c39..41577dd42 100644 --- a/app/Abstracts/View/Components/TransactionTemplate.php +++ b/app/Abstracts/View/Components/TransactionTemplate.php @@ -456,7 +456,7 @@ abstract class TransactionTemplate extends Base return $translation; } - return 'revenus.paid_by'; + return 'revenues.paid_by'; } protected function getTextReleatedTransansaction($type, $textReleatedTransansaction) diff --git a/resources/lang/en-GB/email_templates.php b/resources/lang/en-GB/email_templates.php index 0a4de44c6..526c9c0d0 100644 --- a/resources/lang/en-GB/email_templates.php +++ b/resources/lang/en-GB/email_templates.php @@ -49,6 +49,6 @@ return [ 'revenue_new_customer' => [ 'subject' => '{revenue_date} payment created', - 'body' => 'Dear {customer_name},

We have prepared the following payment.

You can see the payment details from the following link: {revenue_date}.

Feel free to contact us for any question.

Best Regards,
{company_name}', + 'body' => 'Dear {customer_name},

We have prepared the following payment.

You can see the payment details from the following link: {revenue_date}.

Feel free to contact us with any questions..

Best Regards,
{company_name}', ], ]; diff --git a/resources/lang/en-GB/settings.php b/resources/lang/en-GB/settings.php index dc1516ed5..46736f4f0 100644 --- a/resources/lang/en-GB/settings.php +++ b/resources/lang/en-GB/settings.php @@ -115,6 +115,7 @@ return [ 'invoice_payment_admin' => 'Payment Received Template (sent to admin)', 'bill_remind_admin' => 'Bill Reminder Template (sent to admin)', 'bill_recur_admin' => 'Bill Recurring Template (sent to admin)', + 'revenue_new_customer' => 'Revenue Received Template (sent to customer)', ], ], diff --git a/resources/views/components/transactions/show/content.blade.php b/resources/views/components/transactions/show/content.blade.php index a8533ba2c..833101bae 100644 --- a/resources/views/components/transactions/show/content.blade.php +++ b/resources/views/components/transactions/show/content.blade.php @@ -53,7 +53,7 @@ text-payment-methods="{{ $textPaymentMethods }}" text-reference="{{ $textReference }}" text-description="{{ $textDescription }}" - text-paid-by="{{ $textAmount }}" + text-paid-by="{{ $textPaidBy }}" hide-contact="{{ $hideContact }}" hide-contact-info="{{ $hideContactInfo }}" diff --git a/resources/views/components/transactions/show/transaction.blade.php b/resources/views/components/transactions/show/transaction.blade.php index 1ce1f0d31..fd26fbc3e 100644 --- a/resources/views/components/transactions/show/transaction.blade.php +++ b/resources/views/components/transactions/show/transaction.blade.php @@ -39,7 +39,7 @@ text-payment-methods="{{ $textPaymentMethods }}" text-reference="{{ $textReference }}" text-description="{{ $textDescription }}" - text-paid-by="{{ $textAmount }}" + text-paid-by="{{ $textPaidBy }}" hide-contact="{{ $hideContact }}" hide-contact-info="{{ $hideContactInfo }}"