added appointment control amound paid and amount to pay details.