create template for auction & income new sql is also there

create template for auction & income & also some function in fund
controller where changed