mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
parent
c15f17186d
commit
9ac66661ba
@ -59,7 +59,8 @@ class NewAccountCreated extends Notification implements ShouldQueue
|
||||
'message' => ctrans('texts.new_signup_text', ['user' => $user_name, 'email' => $email, 'ip' => $ip]),
|
||||
'url' => config('ninja.web_url'),
|
||||
'button' => ctrans('texts.account_login'),
|
||||
'signature' => '',
|
||||
'signature' => $this->company->settings->email_signature,
|
||||
'logo' => $this->company->present()->logo(),
|
||||
];
|
||||
|
||||
|
||||
|
@ -45,6 +45,7 @@ class MarkPaid extends AbstractService
|
||||
$payment = PaymentFactory::create($this->invoice->company_id, $this->invoice->user_id);
|
||||
|
||||
$payment->amount = $this->invoice->balance;
|
||||
$payment->applied = $this->invoice->balance;
|
||||
$payment->number = $this->getNextPaymentNumber($this->invoice->client);
|
||||
$payment->status_id = Payment::STATUS_COMPLETED;
|
||||
$payment->client_id = $this->invoice->client_id;
|
||||
|
@ -1,19 +1,19 @@
|
||||
@component('email.components.layout')
|
||||
@component('email.template.master', ['design' => 'light'])
|
||||
|
||||
@slot('header')
|
||||
@component('email.components.header', ['p' => ''])
|
||||
<img src="{{ $logo }}" alt="Company Logo" style="display: block">
|
||||
@component('email.components.header', ['p' => '', 'logo' => $url])
|
||||
@lang('texts.download')
|
||||
@endcomponent
|
||||
|
||||
@endslot
|
||||
|
||||
@slot('greeting')
|
||||
@endslot
|
||||
|
||||
@lang('texts.download_timeframe')
|
||||
|
||||
@component('email.components.button', ['url' => $url])
|
||||
@lang('texts.download')
|
||||
@endcomponent
|
||||
|
||||
@slot('signature')
|
||||
InvoiceNinja
|
||||
InvoiceNinja (contact@invoiceninja.com)
|
||||
@endslot
|
||||
|
||||
@slot('footer')
|
||||
|
@ -1,19 +1,20 @@
|
||||
@component('email.components.layout')
|
||||
@component('email.template.master', ['design' => 'light'])
|
||||
|
||||
@slot('header')
|
||||
@component('email.components.header', ['p' => ''])
|
||||
@lang($title)
|
||||
@component('email.components.header', ['p' => $title, 'logo' => $logo])
|
||||
@endcomponent
|
||||
@endslot
|
||||
|
||||
@lang($message)
|
||||
@slot('greeting')
|
||||
@lang($message)
|
||||
@endslot
|
||||
|
||||
@component('email.components.button', ['url' => $url])
|
||||
@lang($button)
|
||||
@endcomponent
|
||||
|
||||
@slot('signature')
|
||||
{{ $signature }}
|
||||
{{ $signature }}
|
||||
@endslot
|
||||
|
||||
@slot('footer')
|
||||
|
Loading…
Reference in New Issue
Block a user