@girish understood. What about the scheduled exchange rate updater? It seems it is broken and does not automatically run on Cloudron. It is difficult to test since it only runs once per day. I have added the necessary API key to the .env file.
spacetime
Posts
-
InvoiceNinja - Update Currency Exchange Rates -
InvoiceNinja - Update Currency Exchange RatesI am not sure what you are thinking of. I did a search.
This is what I get when I try to make a command in app/data:root@...:/app/data# php /app/code/artisan make:command What should the console command be named? ❯ ninja:update-ex In Filesystem.php line 190: file_put_contents(/app/code/app/Console/Commands/ninja:update-ex.php): Failed to open stream: Read-only file system
-
InvoiceNinja - Update Currency Exchange Rates@robi the issue is that the UpdateExchangeRates.php job is not built as a command as far as I can see. I tried to create a Laravel command for it but the secure file system prevents me from doing that. I would like it to exist as
php artisan ninja:update-ex
or the like. -
InvoiceNinja - Add Currencies with NameWhen I add a currency via the currencies MySQL table they do not correctly display in the GUI since the texts.php has not been updated. I am unable to update this file due to it being located in an un-writable folder. In the current release, the Libyan Dinar is missing its entry in the English texts.php so you can look at that as an example at the bottom of the list in: settings > localization > default currency.
Here is the file that needs editing.
https://github.com/invoiceninja/invoiceninja/blob/a52e138a392c37df0ff05f40d7b37d0c7446647e/lang/en/texts.php#L2294 -
InvoiceNinja - Update Currency Exchange RatesI would like to be able to manually trigger the currency exchange rate updater from the CLI or by passing a url query parameter such as ?update-rates. I would also like to know how to change the scheduler for the currency exchange rate updater.
Currency Conversion (exchange rate updater) Docs
https://invoiceninja.github.io/en/self-host/#currency-conversionUpdater Job
https://github.com/invoiceninja/invoiceninja/blob/v5-stable/app/Jobs/Util/UpdateExchangeRates.phpThis job could be run via the laravel-job tool, if it was installed or installable.
https://github.com/mxl/laravel-jobUpdate Schedule
https://github.com/invoiceninja/invoiceninja/blob/a52e138a392c37df0ff05f40d7b37d0c7446647e/app/Console/Kernel.php#L73 -
InvoiceNinja - Export CSV BrokenI installed Invoice Ninja today on the latest Cloudron and exporting CSV of data will not work in Settings > Import | Export > Export Format > CSV. I tried with multiple date configurations. The JSON export works fine but is limited in usefulness except for a full restore to Ninja Invoice. I would also like a way to export directly to a download without an email being sent. This should at very least be available via the CLI.
The jobs are here; but there seems to be no way to manually run them via the CLI:
https://github.com/invoiceninja/invoiceninja/tree/v5-stable/app/Export/CSV -
ERPNext - cost-effective ERP solutionI add my request for ERPNext!
-
Zulip - Powerful open source group chatI add my request for Zulip!