The student made two separate purchases in one day for the same item. The transaction numbers are different because the transactions were not made at the same time.

Statements and Customer Purchase Histories sort by date, so all purchases will be grouped together. The transactions are actually correct.