(a) The deputies or other persons appointed to fill the office or position of the official or employee during a leave of absence under the provisions of this subchapter shall receive the same compensation and shall be paid in the same manner as the official or employee whose duties he or she assumes.
(b) During the time any official or employee is absent from his or her office or position on a leave of absence granted under the provisions of this subchapter, he or she shall not be entitled to compensation.