Skip to content

Rename WorkstationProcessDelete Class for Clarity #483

Open
@ThomasAFink

Description

@ThomasAFink

Description:

Appointments marked as nicht_erschienen/missed by the clerk should probably not call a class named WorkstationProcessDelete, as the naming of the class is confusing. In the log table you can't tell if the process was deleted or set to missed by the clerk because WorkstationProcessDelete is written into the log table for either case. Therefore how can you prosecute a case accurately?

Proposal:

Since the class WorkstationProcessDelete is handling both missed and deleted appointments separate the logic into two classes or come up with a more generic class name. A more descriptive name that accurately reflects its purpose and functionality, such as WorkstationProcessMissedHandler might be a good idea.

Benefits:

Improved code clarity
Easier to understand the purpose of the class
Better maintainability and readability

Bildschirmfoto 2024-04-22 um 10 15 05

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem rightphpPull requests that update Php code

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions