WebHostingPeople Posted July 18, 2015 Share Posted July 18, 2015 Hi, At present I am using Sequential Invoice Number Format - NT/15-16/{NUMBER} . Here NT stands Company name, 15-16 stands financial year 2015-2016 . As you know in India financial year start 1st April - 31st March , At present format , I change every new year manually. I am looking Available auto-insert tags are: {YEAR} {MONTH} {DAY} {NUMBER} , Please guide me What should be format as per my requirement for mention auto year ? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted July 18, 2015 Share Posted July 18, 2015 You only need to create an action hook that replaces tags with the right value. It's not so difficult. For example in one of my module I added {USERID} {COUNTRY} {CURRENCY} auto-tags in addition to {YEAR} {MONTH} {DAY} {NUMBER}. You basically need to adopt the same approach. The only difference is that you have to "explain" in PHP to your action hook that new year starts from 1st April. 0 Quote Link to comment Share on other sites More sharing options...
WebHostingPeople Posted July 19, 2015 Author Share Posted July 19, 2015 Hi, Thanks for guide. I will try it. 0 Quote Link to comment Share on other sites More sharing options...
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.