Updated Tender view function