Main.Accert.check_and_process_total_cost#

Accert.check_and_process_total_cost(c, accert)[source]#

Checks and processes the total cost at the end of the calculation, if the total cost has changed by user inputs. It is important to note that the total cost may not be reflected correctly in the cost elements table. Since the total cost is a sum of the cost elements, the cost elements may have changed by user inputs.

Parameters:
  • c (MySQLCursor) – MySQLCursor class instantiates objects that can execute MySQL statements.

  • accert (ACCERT) – xml2obj class instantiates objects that can parse the ACCERT XML file.