public void Show_current_record_and_semi_auto_matches() { var potential_matches = Reconciliator.Current_potential_matches(); _input_output.Output_line(""); _input_output.Output_line("*****************************************************************************"); _input_output.Output_line("*****************************************************************************"); _input_output.Output_line($"Source record for {Third_party_descriptor}, with best match immediately afterwards:"); _input_output.Output(" "); _input_output.Output_line(Reconciliator.Current_source_record_as_console_line()); if (potential_matches[0].Console_lines.Count > 1) { _input_output.Output_line($"Total: {potential_matches[0].Actual_records.Sum(x => x.Main_amount()).To_csv_string(true)}"); } foreach (var console_line in potential_matches[0].Console_lines) { _input_output.Output_line(console_line.Get_console_snippets(potential_matches[0])); } _input_output.Output_line(".............."); _input_output.Output_line($"Other matches found from {Owned_file_descriptor}:"); _input_output.Output_line("***********"); _input_output.Output_line("Enter the number next to the option you want."); _input_output.Output_all_lines_except_the_first(potential_matches); _input_output.Output_line("***********"); }
public void Show_current_record_and_manual_matches() { _input_output.Output_line(""); _input_output.Output_line($"Source record for {Third_party_descriptor}:"); _input_output.Output_line(Reconciliator.Current_source_record_as_string()); _input_output.Output_line(".............."); _input_output.Output_line($"Matches found from {Owned_file_descriptor}:"); _input_output.Output_line("***********"); _input_output.Output_all_lines(Reconciliator.Current_potential_matches()); _input_output.Output_line("***********"); }