Smart working: Senate law approved