• Question for you

    By Ann Starr 2 decades ago

    Bob, I have seen your database and it is great. I have a quick question. On the area where you can view your Annual Leave Days Left - how is this calculated? I know that a person would start with say 15 days and uses 5, how did you get it to calc the 10 in ALleft.



    Thanks - Ann

    • ALBrought + ALAllowance - ALTotal - ALRolled

      By Bob Brodsky 2 decades ago

      Hi Ann,



      Flattery will get you everywhere :-D



      The basic calculation is: ALBrought + ALAllowance - ALTotal - ALRolled



      Which means that your available leave at a given point in a given year is



      Whatever you brought forward from last year +

      Your annual leave allowance -

      However much you have already used this year -

      Whatever you rolled forward to next year





      I think that there is a bug in the 2.2 Admin approve code. I have fixed it here and need to post a 2.2.1.



      Hope that this helps,

      Bob

      • Thanks

        By Ann Starr 2 decades ago

        Thank so much - that did help.



        Ann