CyberCraftInc / vacation_system

Cyber Craft Vacation System
0 stars 0 forks source link

Recalculate number of available vacations after date employment is updated #161

Open eleidan opened 8 years ago

eleidan commented 8 years ago

How to reproduce: Requirements: have admin role.

  1. Go to /#vacation_requests
  2. Write down number of available regular days
  3. Go to /#users
  4. Press Edit button and update Date of Employment: field with a value that significantly differs
  5. Go to /#vacation_requests
  6. Check the number of available regular days

As a result, we have the same number of days, which is wrong.