26-2-502. Witnesses in courts not of record -- civil actions. Witnesses in courts not of record in civil actions and proceedings shall receive $10 for each day's actual attendance and mileage as provided in 2-18-503 for each mile actually traveled in going from their residences by the usual traveled route to the court and return.