Jump to content

Sequential Invoice Number Format


Recommended Posts

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 ?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated