This is very much a US-centric way of paying crew.
In many (most) parts of the world, flight crew are paid a monthly salary and are expected to work up to a specified maximum number of hours. Per diems and allowances are paid for nights spent away from base.