changes to sales.php