All election personnel attending such training course shall be paid for attending such course, and shall be reimbursed for travel to and from the place where the training is given at the rate determined by the board of supervisors if the distance involved is more than five miles. The wages shall be computed at the hourly rate established pursuant to section 49.20 and payment of wages and mileage for attendance shall be made at the time that payment is made for duties performed on election day.