I checked in an item as usual, then I realized it was damaged. How do I checkin an item as damaged?

You need to cancel the checkin on that item, then set the checkin mode to Damaged (from the drop down on the top of the checkin screen), and checkin the item again. This time the item will be checked in as Damaged, and will ask you for the repair cost.