salary: improve attendance calc; add ALL.C ALL.B support;