It wouldn't be on the K-1.
Gain on shareholder loan repayments (and gain due to distributions on excess of basis) is computed at the shareholder level.