Hi All,
I’m using the latest InvoicePlane version (1.4.3) in French language.
I would like to send recurring invoice every month but it looks like dateInterval is not correct.
For example, if the first recurring invoice generated is 06/30/2015, the next one is planned for 07/30/2015 which IMO should be 07/31/2015.
So I change a piece of code in /application/modules/invoices/models/mdl_invoices_recurring.php and modify public function set_next_recur_date like the following :
// $recur_next_date = increment_date($invoice_recurring->recur_next_date, $invoice_recurring->recur_frequency);
$recur_next_date = date("Y-m-t", strtotime("next month"));
It’s OK for me with this little mod but I’m a bit surprised that invoicePlane do not take into account the real number of day of each month.
Do I miss something ?
Regards,