Understand how reoccuring invoices work #25
Labels
No labels
administration
Akkoma
Android
Bare metal
bug
Communication
Community
Cryptpad
Discussion
Documentation
duplicate
enhancement
etherpad
Feature request
Feedback
finances
Fixed
forgejo
fun_project
Goal 2024
help wanted
Howto
In progress
🤔️ Investigate
ios
jitsi
lacre
Lacre Test
ldap
Lemmy
LibreTranslate
low prio
Lufi
macos
Mail
Merch
monitoring
movim
needs_refine
New Auth
Nextcloud
nice to have
on hold
proposal
question
Ready
refined
Roundcube
searX
spam-protection
Staging Server
Themes
TOR
Urgent!
Website
windows
wontfix
xmpp
Yearly Report
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/Disroot-Project#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Investigate how things work. Whether reoccuring invoices are sent out or only drafts are created.
I've done some tests.
That checks if there is a recurring invoice, creates it and sends an email to the user.
However, there is no pdf included in the email (whereas when manually sent) and the link is to http://localhost/signed/invoices/17?company_id=1&signature=49whatevernumber and doesn't work.
Also, those automatic created invoices are set as draft on Akaunting, not as Sent. So if that is a draft, why does the user receives it?
If I click on SEND, the received email has the pdf included, and a link to https://testinstance/signed/invoices/17?company_id=1&signature=7awhatevernumber which works.
Also, I don't understand something about the cronjob.
On the web interface, you can set the hour to run the cronjob (
php /var/www/akaunting/artisan schedule:run >> /dev/null 2>&1
)However, we are supposed to also manually add the cronjob. This means we can set up a different hour than what we set from web interface... So I don't get it.
edit: nevermind, web site says "Copy the command to your Cron Job system. Set it to run every minute."
There is an issue on the test instance (I've tried on prod, but couldn't reproduce it there): if you don't set recurring when creating the invoice, then, you can't add it after.
To reproduce: