Invoicing Issue Recurring

0

I tested this on both my own portal and your demo portal, and the output is the same.

I created an invoice on November 1 with the same due date, set to recur every month. When I ran the "Generate Invoice" option in the admin panel, I got a 500 error, but the invoices were still created for December, January, and February. However, all these invoices have the same due date of November 1 and are still marked as "Pending" instead of "Overdue," even though the due date has already passed.

Please check and help fix this issue.

Question Unresolved For: Simple Invoice Manager - Invoicing Made Easy 0 Votes 5 Answers 22 Views
Asked by SAGAR KUMAR SAHU 4 days ago

0

Answered by Mian Saleem 3 days ago

Hello,

I have fixed the due date for the recurring invoices in v4.1.1

The error might be due to mail config. Did you update the email settings?

For the due date, the invoice is generated as pending and another command do the check for due invoice to make them overdue.

Please check the latest log file in the storage/logs/ folder.

Thank you

0

Answered by SAGAR KUMAR SAHU 3 days ago

Can you please send all the command for cron job to set to get out put

  1. recurring invoices create automatically
  2. overdue of invoice status autoamtically

0

Answered by SAGAR KUMAR SAHU 3 days ago

I just updated to the latest version. Now, when I click "Generate Invoice," it creates an invoice as expected. I had set recurring invoices to generate 9 days before the due date, which is working fine. However, the issue is that the due date should be 30 days after the previous invoice’s due date (as set in the first invoice), but instead, it’s also being set 9 days earlier.

0

Answered by SAGAR KUMAR SAHU 3 days ago

Also address this cron job please which out put is blank and no error logs in storage/logs and cron job also not fucntioning

0

Answered by Mian Saleem 2 days ago

Hello,

Your due date is same day so the new invoice will have due date same as date (Feb 19).

You only need to setup cron job to run scheduler php artisan schedule:run that will run the commands as need. You don't have to care anything else. For the output, how are you checking? If on the cron job then there won't be any as we are already sending it to null and discarding it.

If you need the output then you can run the scheduler command in terminal or setup cron job without the last part starting with >>

You can check with your server admin how the output works for your server.

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.