Have Business Hours

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • almostwo
    Junior Member
    • Mar 2015
    • 11

    Have Business Hours

    Hi Team,

    I want the posibility to configured Business Hours for the Task,

    It's not logical to have the Date Start and Date End from 00:00, 00:30, 01:00... etc,

    Since the business start from 08:00 to 19:00

    It will be nice to have the power to configure this feature.

    Regards!
  • yuri
    Member
    • Mar 2014
    • 8627

    #2
    It needs some custpmization.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • almostwo
      Junior Member
      • Mar 2015
      • 11

      #3
      Hi Yurikuzn,

      First let me thank you the great product of EspoCRM i think it will have a great future.

      Now, can you give me an idea where I can perform this customization?,

      I will like to share the solution, i think the possibility to have business hours will help another implementations of EspoCRM.

      Regards.

      Comment

      • alasdaircr
        Active Community Member
        • Aug 2014
        • 525

        #4
        almostwo - It's not a simple thing to do. You need to have skills to be able to find and refactor the code. Or you could pay the Espo devs to do this for you.

        Comment

        • almostwo
          Junior Member
          • Mar 2015
          • 11

          #5
          I will take this into account.

          Thanks!

          Comment

          • almostwo
            Junior Member
            • Mar 2015
            • 11

            #6
            Hello,

            I just figure out how to code this feature:

            In the file /client/espo.min.js

            Original:

            Code:
            w={className:null,minTime:null,maxTime:null
            Fix:

            Code:
            w={className:null,minTime:"08:00",maxTime:"19:00"
            hope it can be useful.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8627

              #7
              It's not a nice way to make customization in minified js file. You will look your customization after an upgrade. But more proper solution is more complex then just changing single file. You will need to define custom js for datetime fields in metadata. But it's more reliable.
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • almostwo
                Junior Member
                • Mar 2015
                • 11

                #8
                Totally Agree,

                Everytime and EspoCRM upgrade it's available i will need to make the change.

                Maybe it's possible to have Business Hours in the Admin noted like a "Nice to Have"

                Thanks Yurikuzn for your time.

                Comment

                Working...