mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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]),
|
'message' => ctrans('texts.new_signup_text', ['user' => $user_name, 'email' => $email, 'ip' => $ip]),
|
||||||
'url' => config('ninja.web_url'),
|
'url' => config('ninja.web_url'),
|
||||||
'button' => ctrans('texts.account_login'),
|
'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 = PaymentFactory::create($this->invoice->company_id, $this->invoice->user_id);
|
||||||
|
|
||||||
$payment->amount = $this->invoice->balance;
|
$payment->amount = $this->invoice->balance;
|
||||||
|
$payment->applied = $this->invoice->balance;
|
||||||
$payment->number = $this->getNextPaymentNumber($this->invoice->client);
|
$payment->number = $this->getNextPaymentNumber($this->invoice->client);
|
||||||
$payment->status_id = Payment::STATUS_COMPLETED;
|
$payment->status_id = Payment::STATUS_COMPLETED;
|
||||||
$payment->client_id = $this->invoice->client_id;
|
$payment->client_id = $this->invoice->client_id;
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
@component('email.components.layout')
|
@component('email.template.master', ['design' => 'light'])
|
||||||
|
|
||||||
@slot('header')
|
@slot('header')
|
||||||
@component('email.components.header', ['p' => ''])
|
@component('email.components.header', ['p' => '', 'logo' => $url])
|
||||||
<img src="{{ $logo }}" alt="Company Logo" style="display: block">
|
@lang('texts.download')
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
|
||||||
|
@endslot
|
||||||
|
|
||||||
|
@slot('greeting')
|
||||||
@endslot
|
@endslot
|
||||||
|
|
||||||
@lang('texts.download_timeframe')
|
@lang('texts.download_timeframe')
|
||||||
|
|
||||||
@component('email.components.button', ['url' => $url])
|
|
||||||
@lang('texts.download')
|
|
||||||
@endcomponent
|
|
||||||
|
|
||||||
@slot('signature')
|
@slot('signature')
|
||||||
InvoiceNinja
|
InvoiceNinja (contact@invoiceninja.com)
|
||||||
@endslot
|
@endslot
|
||||||
|
|
||||||
@slot('footer')
|
@slot('footer')
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
@component('email.components.layout')
|
@component('email.template.master', ['design' => 'light'])
|
||||||
|
|
||||||
@slot('header')
|
@slot('header')
|
||||||
@component('email.components.header', ['p' => ''])
|
@component('email.components.header', ['p' => $title, 'logo' => $logo])
|
||||||
@lang($title)
|
|
||||||
@endcomponent
|
@endcomponent
|
||||||
@endslot
|
@endslot
|
||||||
|
|
||||||
|
@slot('greeting')
|
||||||
@lang($message)
|
@lang($message)
|
||||||
|
@endslot
|
||||||
|
|
||||||
@component('email.components.button', ['url' => $url])
|
@component('email.components.button', ['url' => $url])
|
||||||
@lang($button)
|
@lang($button)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user