Personal Finance Tracker
 
Loading...
Searching...
No Matches
update_log_manager.UpdateLogManager Class Reference

Static Public Member Functions

 add ()
 
 modify ()
 
 delete ()
 

Detailed Description

Manages the addition, modification, and deletion of transaction records.

Methods:
    add: Adds a new transaction entry.
    modify: Modifies an existing transaction entry.
    delete: Deletes a transaction entry.

Member Function Documentation

◆ add()

update_log_manager.UpdateLogManager.add ( )
static
Prompts the user to enter transaction details and adds a new entry to the CSV file.

Gets the following details from the user:
    - Date of the transaction
    - Amount
    - Category
    - Description

Returns:
    None

◆ delete()

update_log_manager.UpdateLogManager.delete ( )
static
Deletes a transaction entry based on the provided transaction ID.

The method verifies if the transaction ID exists before attempting to delete.

Returns:
    None

◆ modify()

update_log_manager.UpdateLogManager.modify ( )
static
Modifies an existing transaction entry based on user input.

The user can choose to modify:
    - Date
    - Category
    - Amount
    - Description
    - Or cancel the operation

Returns:
    None

The documentation for this class was generated from the following file: