Record Payment does not update check_number & trxn id on main contribution.
To reproduce -
- Create a pending contribution.
- Record payment and enter C111 in the check number field.
- Main contribution row in civicrm_contribution table is not updated with the check number field. This leads to empty values in contribution export.
Similar issues with trxn_id input field.
Note that the main contribution values are updated if we use the payment edit form.
Related issue was raised at #1483 but it deals specifically with the incorrect updates made via the edit form. Also that tickets needs concept approval as one of the unit test asserts this wrong behaviour(more info on gitlab)