created and successfully tested the resetpayrollprocess Artisan command locally.
resolved the issue where the custom command was not deleting data from two tables. The custom command to reset the payroll process was created and pushed to the dev server. However, it is not working on the dev server, so testing is still pending.