anchor.diff:  - process trade: get statements, print them and write them to the db
   
   ==== Code: get_input_fields
  -[write_to_database, python]
  ----
  -  
  ----
  +[source, python, numbered]
  +----
  +None 
  +----
  
positive.code: Remove will remove the currently selected entry from the table-model.
  When nothing is selected, the last entry will be removed.
  Note:
  ---
  Currently, only removing the last entry is supported.
  ---
  
  === Code: btn_remove / btn_remove_last
  [btn_remove_last_clicked, python]
  ---
  self.ctl.remove_last(self.model_data)
  ---
  
  [remove_last, python]
  ---
  table_model.removeRows(table_model.rowCount(None) - 1, 1) #<1>
  ---
  <1> This removes the last entry, based on the rowCount method of the model.
  
  We can see that the table-model contains most of the functionality to
  
negative.code: correct tables in the database.
  
  === Code: btn_execute_click
  [source, python, numbered]
  ----
      self.ctl.write_to_database(self.model_data) # <1>
      self.set_lbl_check(self.ctl.get_check_info([])) # <2>
      self.model_data.clear() # <3>
  ----
  
  <1> The main processing is started from this function in the controller.
  <2> Detailed info that is displayed, will change after processing, e.g. the total pool.
  <3> After processing, the table-data is cleared again.
  
  === Code: write_to_database
  