Fixes for typo
This commit is contained in:
parent
55842ed966
commit
78d30eaf55
|
|
@ -504,7 +504,7 @@ class InvoiceController extends BaseController
|
||||||
return response(['message' => 'Please verify your account to send emails.'], 400);
|
return response(['message' => 'Please verify your account to send emails.'], 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Ninja::isHosted() ) && $user->account->emailQuotaExceeded()) {
|
if (Ninja::isHosted() && $user->account->emailQuotaExceeded()) {
|
||||||
return response(['message' => ctrans('texts.email_quota_exceeded_subject')], 400);
|
return response(['message' => ctrans('texts.email_quota_exceeded_subject')], 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -533,7 +533,6 @@ class QuoteController extends BaseController
|
||||||
return response(['message' => ctrans('texts.disable_emails_error')], 400);
|
return response(['message' => ctrans('texts.disable_emails_error')], 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$quotes = Quote::query()->with('invitations')->withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
$quotes = Quote::query()->with('invitations')->withTrashed()->whereIn('id', $this->transformKeys($ids))->company()->get();
|
||||||
|
|
||||||
if (! $quotes) {
|
if (! $quotes) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue