add cost element in viewRequest.php
add dynamic totalcost