sale of goods Act doubt

Rahul Gupta (CA Final Student) (1780 Points)

29 February 2008  
Aman contracted to erect machinery on sapan's premises on the condition that the price shall be paid on completion of work. During the progress of work the premises and machinery were destroyed by an accidental fire. Referring to the provisions of the sale of goods act, 1930 decide whether the parties are bound to perform their promises and can aman recover the price of the work actually done? (November 07-PE-2)