Bug fixes
This commit is contained in:
parent
140943f166
commit
19c1a33d52
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ class ApiCheck {
|
|||
}
|
||||
|
||||
if (!Utils::isNinja()) {
|
||||
return null;
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
if (!Utils::isPro()) {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class UserMailer extends Mailer
|
|||
return;
|
||||
}
|
||||
|
||||
$entityType = $invoice->getEntityType();
|
||||
$entityType = $notificationType == 'approved' ? ENTITY_QUOTE : ENTITY_INVOICE;
|
||||
$view = "{$entityType}_{$notificationType}";
|
||||
|
||||
$data = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue