Work Order Costs - Payroll

A salaried employee worked 2.5 hours on a work order and yet their entire salary for the period (80 hrs) allocated as a cost to the job.  Is there a way to revise the cost to reflect only the amount related to the 2.5 hours?  Thanks for any feedback.