Calculation of earned benefits in BillQuick HR