Update Purchase_Process.php

This revision includes the following change:
 - [1] the Purchase_Process class was updated to log purchases that a user has made. The purchase logging query now logs the BookID, rather than the SaleID, which caused the insert query to fail.