activa Posted September 23, 2015 Report Posted September 23, 2015 Hello i have this invoice format {num}-{day}{month}{year} the probleme i have is that in every new day the {num} back to 1 for exempale 1-21092015 2-21092015 1-22092015 2-22092015 3-22092015 1-23092015 2-23092015 what i want is that the first number never back to 1 in eery new day ? 1-21092015 2-21092015 3-22092015 4-22092015 5-22092015 6-23092015 7-23092015 how to achieve this ? Quote
0 Tyson Posted September 23, 2015 Report Posted September 23, 2015 The current behavior, where {num} starts back at one, is expected with the use of the other temporal tags {day}, {month}, and {year}. When the invoice is created, the formatting set on the invoice replaces these temporal tags with their current values. If you had "{num}-{month}", then the {num} would start over at 1 with the first invoice in every new month. Similarly "{num}-{year}" would start the number at 1 with the first invoice of every new year. To avoid having the {num} start at 1 again, you would have to stop using {day}, {month}, or {year} tags. Michael and Paul 2 Quote
0 Blesta Addons Posted September 23, 2015 Report Posted September 23, 2015 something like this can't work ? {num}-{year}{month}{day} Quote
Question
activa
Hello
i have this invoice format {num}-{day}{month}{year}
the probleme i have is that in every new day the {num} back to 1 for exempale
1-21092015
2-21092015
1-22092015
2-22092015
3-22092015
1-23092015
2-23092015
what i want is that the first number never back to 1 in eery new day ?
1-21092015
2-21092015
3-22092015
4-22092015
5-22092015
6-23092015
7-23092015
how to achieve this ?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.