The earnings of such inmates shall accrue to the benefit of the county or counties establishing such home, except such portion as the Department of Welfare shall credit to each inmate to be paid on her discharge or before, as provided by the Department of Welfare.
16 P.S. § 8129