Expense Tax Report and Changing the Invoice label on Invoice Template

Hey there,

Thanking Invoice Ninja team for the app.

I have 2 questions;

  1. Where can I find Expense Tax Report similar to Invoice Tax Report? Is there a way to create it? I would like to know how much tax I have paid. :smiley:

  2. How can I change invoice template and change the label Invoice to Tax Invoice. I tried editing the RAW html but when I save the changes it doesn’t work. Please guide me in the right direction.

Thanks :slight_smile:

Hi,

  1. I think the best option may be to add the tax columns to the expense report.

  2. It may be easier to use a custom localization. Did you try creating a new invoice with the custom design assigned?

Thank you for replying Hillel,

As I am totally new to Invoice Ninja, is it possible to get some guides, links or documentation for your provided solutions?

The docs are here: https://invoiceninja.github.io/

Where are you stuck with the suggestions?

Thank you for sharing the doc link. I just didn’t didn’t change anything else than RAW HTML file as I wanted to see the documents first.

I have another issue which I just noticed, I am posting it here as I dont want to make a new thread :slight_smile:

When I try sending email, I get an error 500 but email is still sent. While debugging it showed, “500 Error Call to a member function trashed() on null.”

Any suggestions to troubleshoot this?

TIA :smiley:

Could you please post the full error from the logs in storage/logs?

@david any thoughts on the error?

I also have 500 error when I try to enter a payment. The payment is saved though but without number. I hope the below log is helpful in troubleshooting this.
[2022-05-16 12:04:01] production.ERROR: Call to a member function trashed() on null {"userId":1,"exception":"[object] (Error(code: 0): Call to a member function trashed() on null at /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Utils/Traits/Notifications/UserNotifies.php:59) [stacktrace] #0 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Listeners/Payment/PaymentNotification.php(66): App\\Listeners\\Payment\\PaymentNotification->findUserEntityNotificationType(Object(App\\Models\\Payment), Object(App\\Models\\CompanyUser), Array) #1 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Events/CallQueuedListener.php(107): App\\Listeners\\Payment\\PaymentNotification->handle(Object(App\\Events\\Payment\\PaymentWasCreated)) #2 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Events\\CallQueuedListener->handle(Object(Illuminate\\Foundation\\Application)) #3 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #4 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #5 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #6 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #7 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\\Container\\Container->call(Array) #8 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Events\\CallQueuedListener)) #9 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Events\\CallQueuedListener)) #10 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #11 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Events\\CallQueuedListener), false) #12 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Events\\CallQueuedListener)) #13 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Events\\CallQueuedListener)) #14 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #15 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\SyncJob), Object(Illuminate\\Events\\CallQueuedListener)) #16 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\SyncJob), Array) #17 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(43): Illuminate\\Queue\\Jobs\\Job->fire() #18 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(147): Illuminate\\Queue\\SyncQueue->push(Object(Illuminate\\Events\\CallQueuedListener), '', NULL) #19 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Queue/Queue.php(71): Illuminate\\Queue\\SyncQueue->later(5, Object(Illuminate\\Events\\CallQueuedListener), '', NULL) #20 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(573): Illuminate\\Queue\\Queue->laterOn(NULL, 5, Object(Illuminate\\Events\\CallQueuedListener)) #21 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(498): Illuminate\\Events\\Dispatcher->queueHandler('App\\\\Listeners\\\\P...', 'handle', Array) #22 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(424): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}(Object(App\\Events\\Payment\\PaymentWasCreated)) #23 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Paym...', Array) #24 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(450): Illuminate\\Events\\Dispatcher->dispatch('App\\\\Events\\\\Paym...') #25 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Repositories/PaymentRepository.php(172): event(Object(App\\Events\\Payment\\PaymentWasCreated)) #26 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Repositories/PaymentRepository.php(52): App\\Repositories\\PaymentRepository->applyPayment(Array, Object(App\\Models\\Payment)) #27 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Http/Controllers/PaymentController.php(209): App\\Repositories\\PaymentRepository->save(Array, Object(App\\Models\\Payment)) #28 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\PaymentController->store(Object(App\\Http\\Requests\\Payment\\StorePaymentRequest)) #29 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('store', Array) #30 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\PaymentController), 'store') #31 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #32 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\\Routing\\Route->run() #33 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #34 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(63): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #36 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), '300', '1') #37 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Http/Middleware/QueryLogging.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\QueryLogging->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Http/Middleware/Locale.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\Locale->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Http/Middleware/TokenAuth.php(99): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\TokenAuth->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Http/Middleware/SetDb.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\SetDb->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #50 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #51 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #52 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #53 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php(45): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\\Laravel\\Http\\SetRequestIpMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\\Laravel\\Http\\SetRequestMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Livewire\\DisableBrowserCache->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/app/Http/Middleware/Cors.php(25): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\Cors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #64 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #65 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #66 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #67 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #68 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #69 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #70 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #71 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #72 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #73 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #74 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #75 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #76 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #77 /home/seenmeem/public_html/account.myinvoiceninjawebsite.com/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #78 {main} "}
Please note that website domain is edited to myinvoiceninjawebsite.com for confidentiality. :slight_smile:

Any suggestion? I am okay with the email issue but not able to record payments is a huge problem.

From the error log it looks like the error is related to the payment notification, disabling the notification on Settings > User Details may help as a workaround.

@david any thoughts on the error?

@sundas.munir29

I’ve got a fix for this in the next release.

1 Like

I noticed there was some issue with the App database so I decided to reinstall the app on a new subdomain. Everything works fine but PDF_Generator is not changing to hosted_ninja in .env file.
Is it because of App License key on another domain? If so, how can I remove key from previous domain to new sub domain?

It may help to run php artisan optimize from the command line, if you don’t have SSH access you can try loading /update?secret=

I am on shared hosting. I tried /update?secret= still it is same. The old copy has issues like I can not save payment and shows 500 error and with new one I can not see any changes I make in .env file.

@david do you have any ideas?

I deleted old copy of Invoice Ninja and I also deleted old database. I have a clean install now, the license key has been applied but still my PDF generator is Phantom. I just want to set it to hosted_ninja. I have tried everything but nothing works :frowning:

In the next release we plan to make hosted_ninja the default value

Sure. Thank you!

But what am I supposed to do now? It has been 5 days since I bought white label license and I am not able to generate even 1 invoice from Invoice Ninja System. In the system check the PDF generator is stuck to Phantom, although I have edited it in .env file.

The cron is working fine. No system errors but I can’t generate PDF using phantom JS and hosted_ninja generator isn’t working. There must be something that can be done??:pleading_face:

Most shared hosting providers have a terminal you can use to access the command line, I suggest checking with your webhost.

After pushing my host for a full day, they helped me in clearing running artisan optimize and application is working fine. :slight_smile:

Thank you @hillel and @david

1 Like

Glad to hear it, thanks for letting us know!