receipt.html view course button - func update