On the list of payrolls and based on the fact that you have permission to approve any payroll or you have been assigned the payroll to approve :
Click on "Payroll"
Click on "Run Payroll"
Select the payroll to be approved and click on the action button.
Select "approve payroll"
Agree to the pop-up that will be displayed
Once approved the payroll will be moved to the past payroll.