Topic: recurring invoices - period

Hi,

I just noticed this.  when I create an original invoice, I am billing at the beginning of the cycle for the cycle.  example, I bill the service provide in January on January 1 with the original invoice.  When I generate the recurring invoice on February 01, it contains a remark that the billable service is for January 01-31, but it should be feb 01-28.  it is an excellent feature that this gets automatically added to the invoice, but how can I make it say it is billing ahead instead of behind?

Re: recurring invoices - period

Refer line 44 in sales/create_recurrent_invoices.php:

    $doc->Comments .= sprintf(_("Recurrent Invoice covers period %s - %s."), $from, add_days($to, -1));

and change as needed.

Re: recurring invoices - period

nailed this a while back, but posting here in case I need it later, and in case it helps others:


                //text_row(_('Invoice notice:'), 'memo', sprintf(_("Recurrent Invoice covers period %s - %s."), $from, add_days($to, -1)),
        $newto = add_months($to, $myrow['monthly']);
        $newto = add_days($newto, $myrow['days']);
        text_row(_('Invoice notice:'), 'memo', sprintf(_("Recurrent Invoice covers period %s - %s."), $to, add_days($newto, -1)),

Re: recurring invoices - period

@joe: can commit?

Re: recurring invoices - period

Committed