Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    What is the purpose of Invoice Number Generator field ?

    General Discussion
    2
    2
    469
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NLS667 last edited by

      In Invoice and Order Configuration are fields named Number Generator. As I understand, those can take class name of some generator. How can I make custom generator ? or how to properly use that field in the first place 🙂

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @NLS667,

        The purpose of the Invoice and Order configuration field is to generate the random numbers with certain prefixes and suffixes by the developer.

        Currently there is no such docs for developer class and developer point of view. For now you can take reference from here,
        https://github.com/bagisto/bagisto/tree/master/packages/Webkul/Sales/src/Generators

        We will soon add this in our documentation before the latest release.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post