steps to reproduce:
- goto https://sim.tecdiary.net/sales/add
- Add 3 new sales invoices with old date & due date as yesterday
- run the cron manually as by - https://sim.tecdiary.net/cron/run
- Now check your sales list. The cron processed 2x invoices & 3rd invoice was not triggered as OVERDUE
- ref : https://ibb.co/4gH1pjt
- MSAnswered
Hello,
Thank you for reporting the issue. As I know, only due passed invoices are created with cron (recurring). If that’s not correct, let me know so that I can check.
- MSAnswered
Hi, thank you for your kind replies. As you could see my ref image, there are 2x 27’Dec due invoices but only one was triggered. Another 27’Dec due invoice was not triggered…
- MSAnswered
Hello,
I am sorry the
recurring sales
has nothing to do with due date. The due date is to change the status of invoice to overdue.I have tested as you per your steps and the result screenshots are attached.
- MSAnswered
Hi. Hopes you could reread my comments. Seems you havent followed my ReProducing steps.
Your way of troubleshooting is too layman term. And actually you did nothing to reproduce the issue , instead just did as normal.
- MSAnswered
I followed your steps 😦
- Created 3 recurring invoices with previous date and due as yesterday (took screenshot).
- Run the cron job
- Visited the sales list and took screenshot.
What I have missed?
You might be true but I don’t have any other way yet.
Thank you
- MSAnswered
Hi, your diagnose test is not followed my above re’producing order…
- Add 3 new sales invoices with OLD DATE & ** DUE DATE AS YESTERDAY **
- run the cron manually as by - https://sim.tecdiary.net/cron/run
- Now check your sales list. The cron processed 2x invoices & 3rd invoice was not triggered as OVERDUE ref : https://ibb.co/4gH1pjt
But in your diagnose above, all shows PENDING, becoz you set the due date as far future, instead of YESTERDAY’s date.
Attachments - MSAnswered
The due date of all 3 invoices were yesterday (29.12.2019 Ref: Before cron job). The date, I chose randomly (old/previous date). The recurring invoice will have due date as per original invoice.
All the new processed invoices will have pending payment status. I have noticed the paid amount for paid invoice shouldn’t have that amount. I will fix that. Fro other, I have not figured out the issue.
The failure of email or pdf generation, would stop the cron job. I will check this too in next update.
- MSAnswered
So, whats your conclusion here.?
- Is your DEMO is working well ?
- The issue is not a bug & could be the failure of email or pdf generation, would stop the cron ?
- OR - You have to fix this issue as The cron processed 2x invoices & 3rd invoice was not triggered as OVERDUE ?
- MSAnswered
I haven’t fixed any thing yet. I even didn’t find the cause. I will check this again, once I start working on update. This bug report will be updated accordingly.
Thank you
- Login to Reply