Leased equipment

SOLVED

I have recently taken on a new bookkeeping client.  He was leasing some equipment and the previous accountant expensed the lease payments.  Asset and liability accounts were not set up.  The lease ended and there wasn't a lump sum payout at the end.   The client has since sold the equipment, which I am trying to post.  Do I claim the entire sale as profit from sale as it was never set up as an asset and there wasn't any depreciation claimed?

Thank you for your help!!