mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
fixes
This commit is contained in:
parent
dbcf32da26
commit
b85e846de5
@ -58,7 +58,7 @@ class ParseEDocument extends AbstractService
|
||||
}
|
||||
|
||||
// MINDEE OCR - try to parse via mindee external service
|
||||
if (config('services.mindee.api_key') && !(Ninja::isHosted() && !($this->company->account->isPaid() && $this->company->account->plan == 'enterprise')))
|
||||
if (config('services.mindee.api_key') && !(Ninja::isHosted() && !($account->isPaid() && $account->plan == 'enterprise')))
|
||||
try {
|
||||
return (new MindeeEDocument($this->file))->run();
|
||||
} catch (Exception $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user