Update Purchase.php

Fixing tenders bug