Im looking to generate receipt numbers on all purchases done on the site.
This is my simple numbering solution (basic receipt system, no need to be fancy for now)
My challenge is, i would like to just have 5 numbers after the letter “A”. The problem is, i dont know how i should go about doing this. As seen in the image below.
So basically, i just want it to start from, for example, A00001, A00002, and so on. Then when reaching double digits, it should be A00010, A00011, and so on. Eliminating the extra 0s i added maintaning the 5 digit receipt code. TIA!