mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
minor fixes
This commit is contained in:
parent
a51436f224
commit
3d28159702
@ -514,7 +514,7 @@ class CompanyExport implements ShouldQueue
|
|||||||
$nmo->company = $company_reference;
|
$nmo->company = $company_reference;
|
||||||
$nmo->settings = $this->company->settings;
|
$nmo->settings = $this->company->settings;
|
||||||
|
|
||||||
NinjaMailerJob::dispatch($nmo);
|
NinjaMailerJob::dispatch($nmo, true);
|
||||||
|
|
||||||
if(Ninja::isHosted()){
|
if(Ninja::isHosted()){
|
||||||
sleep(3);
|
sleep(3);
|
||||||
|
@ -30,7 +30,7 @@ class InvoiceObserver
|
|||||||
public function created(Invoice $invoice)
|
public function created(Invoice $invoice)
|
||||||
{
|
{
|
||||||
|
|
||||||
$subscriptions = Webhook::where('company_id', $invoice->company->id)
|
$subscriptions = Webhook::where('company_id', $invoice->company_id)
|
||||||
->where('event_id', Webhook::EVENT_CREATE_INVOICE)
|
->where('event_id', Webhook::EVENT_CREATE_INVOICE)
|
||||||
->exists();
|
->exists();
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ class InvoiceObserver
|
|||||||
*/
|
*/
|
||||||
public function updated(Invoice $invoice)
|
public function updated(Invoice $invoice)
|
||||||
{
|
{
|
||||||
$subscriptions = Webhook::where('company_id', $invoice->company->id)
|
$subscriptions = Webhook::where('company_id', $invoice->company_id)
|
||||||
->where('event_id', Webhook::EVENT_UPDATE_INVOICE)
|
->where('event_id', Webhook::EVENT_UPDATE_INVOICE)
|
||||||
->exists();
|
->exists();
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ class InvoiceObserver
|
|||||||
*/
|
*/
|
||||||
public function deleted(Invoice $invoice)
|
public function deleted(Invoice $invoice)
|
||||||
{
|
{
|
||||||
$subscriptions = Webhook::where('company_id', $invoice->company->id)
|
$subscriptions = Webhook::where('company_id', $invoice->company_id)
|
||||||
->where('event_id', Webhook::EVENT_DELETE_INVOICE)
|
->where('event_id', Webhook::EVENT_DELETE_INVOICE)
|
||||||
->exists();
|
->exists();
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html data-report-errors="{{ $report_errors }}" data-rc="{{ $rc }}" data-build="{{ $build }}" user-agent="{{ $user_agent }}">
|
<html data-report-errors="{{ $report_errors }}" data-rc="{{ $rc }}" data-user-agent="{{ $user_agent }}">
|
||||||
<head>
|
<head>
|
||||||
<!-- Source: https://github.com/invoiceninja/invoiceninja -->
|
<!-- Source: https://github.com/invoiceninja/invoiceninja -->
|
||||||
<!-- Version: {{ config('ninja.app_version') }} -->
|
<!-- Version: {{ config('ninja.app_version') }} -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user