Overdue - Recurring is not working

1

steps to reproduce:

  1. goto https://sim.tecdiary.net/sales/add
  2. Add 3 new sales invoices with old date & due date as yesterday
  3. run the cron manually as by - https://sim.tecdiary.net/cron/run
  4. Now check your sales list. The cron processed 2x invoices & 3rd invoice was not triggered as OVERDUE
  5. ref : https://ibb.co/4gH1pjt
Attachments
Bug Unresolved For: Simple Invoice Manager - Invoicing Made Easy 1 Votes 9 Replies 2.9k Views
Reported by MANIe S. 5 years ago

0

Replied by Mian Saleem 5 years ago

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.

1

Replied by MANIe S. 5 years ago

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..

0

Replied by Mian Saleem 5 years ago

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.

0

Replied by MANIe S. 5 years ago

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.

0

Replied by Mian Saleem 5 years ago

I followed your steps 😦

  1. Created 3 recurring invoices with previous date and due as yesterday (took screenshot).
  2. Run the cron job
  3. 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

0

Replied by MANIe S. 5 years ago

Hi,
your diagnose test is not followed my above re'producing order..

  1. Add 3 new sales invoices with OLD DATE & ** DUE DATE AS YESTERDAY **
  2. run the cron manually as by - https://sim.tecdiary.net/cron/run
  3. 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

0

Replied by Mian Saleem 5 years ago

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.

0

Replied by MANIe S. 5 years ago

So, whats your conclusion here.?

  1. Is your DEMO is working well ?
  2. The issue is not a bug & could be the failure of email or pdf generation, would stop the cron ?
  3. OR - You have to fix this issue as The cron processed 2x invoices & 3rd invoice was not triggered as OVERDUE ?

0

Replied by Mian Saleem 5 years ago

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

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.