Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurring Invoice Variables. #103

Closed
whitebook opened this issue Apr 29, 2014 · 2 comments
Closed

Recurring Invoice Variables. #103

whitebook opened this issue Apr 29, 2014 · 2 comments
Labels

Comments

@whitebook
Copy link

One thing which I guess is a case of ambiguity; when a user selects a start date of sometime in the future for example May 1, 2014 for the recurring profile and we use the smart vars like :MONTH

I noticed the line Item says 'April' for the month. (Because thats the current month)

My guess is it needs a bit more intelligence to recognize the invoice start data and base it off that.

Just mentioning it. I can be wrong too.

Also when setting up a recurring invoice, I wonder if the invoice gets scheduled for the start date, or it creates it immediately and then sets the recurring date to one month from the current date?

Any explanation on how this works?

Thanks.

@hillelcoren
Copy link
Member

Thanks for your thoughts.

There is a script which runs every hour to send recurring invoices. If you create a recurring invoice and set the start date to today it will get sent within the hour. Setting the start date to date in the future means we'll wait to send it.

I agree that the variables feature is unclear. It's meant to be used with recurring invoices. When the invoice is generated and sent we freeze the variables. However, if it's used for a non-recurring invoice the value will keep changing. This is a bug which will need to be fixed.

@hillelcoren
Copy link
Member

I've just checked in a change so that date variables are only enabled for recurring invoices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants