Update pm_wo_functions.php

updated for WO authorizations