Ask, reply and learn. Join the community of Akaunting.
I've been trying to create a custom app to connect to some internal systems...
I've managed to create the module, and using modules.json I've created some settings.
When I try and do setting('test.value') in a Command, I don't see any settings at all loading, and setting()->all() shows nothing too.
If I add dump(setting()->all()) in the pre-built controller then I see all the settings...
How do I access the settings in the Command (created via module:make-command) since they don't seem to have been loaded by default?
Ah, I solved this.
I had to activate a company first in the script.
Showing 1 to 2 of 2 discussions