This money is not from his filmi rojgaar. Till his "Dayavan" days, heroes used to get 40/50 lakhs per movie. He was a 70s and 80s hero with not much income (by todays standard), had long break in carreer and went to Oshoville in Oregon, USA.
How he managed 31 crore? 1. Loaned from his son (jr. khanna is a decent actor but does not really command that much money in box office) 2. Acting as a frontman of some one behind 3. His income as union minister in BJP regime